Re: GCC 15 -fzero-init-padding-bits= option and redzone clobber

Linus Torvalds <[email protected]>
Newsgroups org.kernel.vger.linux-toolchains
Message-ID <CAHk-=wjkBODvjrNJPRYg2B9pvpPfzVirwOKLEUDOuGp_Djtyfw@mail.gmail.com>
On Sat, 30 Nov 2024 at 14:43, Linus Torvalds
<[email protected]> wrote:
>
> Guess why we have random unnecessary "asm volatile" things too? Yeah.
> gcc bugs. They have been fixed, but not in older versions.

Btw, don't feel bad. There are clang bugs too. Bugs happen. And they
happen more in code bases that push the boundaries.

99% of all projects never use inline asm at all, or do it purely with
headers that came with the system. For the kernel, it's
non-negotiable.

        Linus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.