Re: [PATCH] expand: Don't depend on warning flags in code generation of strnlen [PR94189]

2020-03-17 Thread Richard Biener via Gcc-patches
On Tue, Mar 17, 2020 at 9:35 AM Jakub Jelinek via Gcc-patches wrote: > > Hi! > > The following testcase FAILs with -O2 -fcompare-debug, but the reason isn't > that we'd emit different code based on -g or non-debug, but rather that > we emit different code depending on whether -w is used or not (or

[PATCH] expand: Don't depend on warning flags in code generation of strnlen [PR94189]

2020-03-17 Thread Jakub Jelinek via Gcc-patches
Hi! The following testcase FAILs with -O2 -fcompare-debug, but the reason isn't that we'd emit different code based on -g or non-debug, but rather that we emit different code depending on whether -w is used or not (or e.g. -Wno-stringop-overflow or whether some other pass emitted some other warnin