[Bug tree-optimization/84468] [8 Regression] bogus -Wstringop-truncation despite assignment after conditional strncpy

romain.geissler at amadeus dot com gcc-bugzilla@gcc.gnu.org
Mon Feb 26 02:49:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84468

--- Comment #13 from Romain Geissler <romain.geissler at amadeus dot com> ---
Hi,

It looks like that the code in #comment 11 works when you build just with -O2,
but not when you add debug symbols: -O2 -g. Do we have a way to ignore debug
statements when looking for the next statement in the next basic block ?

Cheers,
Romain


More information about the Gcc-bugs mailing list