[Bug lto/61886] [4.8/4.9/5 Regression] LTO breaks fread with _FORTIFY_SOURCE=2

hubicka at ucw dot cz gcc-bugzilla@gcc.gnu.org
Mon Sep 8 00:42:00 GMT 2014


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

--- Comment #9 from Jan Hubicka <hubicka at ucw dot cz> ---
> The issue is that we resolve aliases in a bogus way, not warning/error
> stuff.

Those are not aliases, but duplicated declarations that are supposed to not
exist since one declaration rule was introduced in early 4.x series.
It is bug that frotnend allowed creating them and made it part of the fortify
interface. I still think it is better to resolve those early and start
rejecting
any other uses than the fortify case...

Honza



More information about the Gcc-bugs mailing list