Re: Heads up: gcc miscompiling initramfs zlib decompression code at -O3

2021-05-03 Thread Vineet Gupta
On 5/3/21 10:41 AM, Linus Torvalds wrote: > On Fri, Apr 30, 2021 at 1:46 PM Vineet Gupta > wrote: >> I've hit a mainline gcc 10.2 (also gcc 9.3) bug which triggers at -O3 >> causing wrong codegen. > So it does seem to be a gcc bug or at least mis-feature where gcc gets > the aliasing decision wro

Re: Heads up: gcc miscompiling initramfs zlib decompression code at -O3

2021-05-03 Thread Linus Torvalds
On Fri, Apr 30, 2021 at 1:46 PM Vineet Gupta wrote: > > I've hit a mainline gcc 10.2 (also gcc 9.3) bug which triggers at -O3 > causing wrong codegen. So it does seem to be a gcc bug or at least mis-feature where gcc gets the aliasing decision wrong when vectorizing the code. That said, the fact

Re: [PATCH v4 0/3] asm-generic/io.h: Silence -Wnull-pointer-arithmetic warning on PCI_IOBASE

2021-05-03 Thread Arnd Bergmann
On Fri, Apr 30, 2021 at 1:16 PM Niklas Schnelle wrote: > > From: Niklas Schnelle > > This is version 4 of my attempt to get rid of a clang > -Wnull-pointer-arithmetic warning for the use of PCI_IOBASE in > asm-generic/io.h. This was originally found on s390 but should apply to > all platforms lea