[Bug lto/62249] Spurious FORTIFY_SOURCE warning with -flto, poll
zackw at panix dot com
gcc-bugzilla@gcc.gnu.org
Fri Oct 10 13:07:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62249
--- Comment #4 from Zack Weinberg <zackw at panix dot com> ---
The "delta-minimized self-contained test case" should require only `-O2 -flto`
to reproduce the problem. The other test case, however, should require
`-D_FORTIFY_SOURCE=2` in addition, and to be compiled against recent glibc.
Note also that this does not happen with 4.8 or older.
More information about the Gcc-bugs
mailing list