On Mon, May 8, 2017 at 9:25 AM, Geert Uytterhoeven <ge...@linux-m68k.org> wrote: > Hi Jens, > > On Mon, May 8, 2017 at 3:53 AM, Jens Axboe <ax...@fb.com> wrote: >> On 05/07/2017 08:14 AM, Geert Uytterhoeven wrote: >>> With gcc 4.1.2: >> >> Wow, that's ancient. > > But it helps to find things like this, and improve the code ;-)
For reference, the warning shows up in gcc-4.2 and 4.3 as well, but not in gcc-4.4 or higher unless you disable all optimizations (e.g. gcc-7.1 -O0 warns). Arnd