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