This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug lto/62249] Spurious FORTIFY_SOURCE warning with -flto, poll


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]