https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61886
--- Comment #10 from rguenther at suse dot de <rguenther at suse dot de> --- On Mon, 8 Sep 2014, hubicka at ucw dot cz wrote: > 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... Well - whatever makes the fortify case work as expected works for me. Note that it would be nice to fix this on the 4.9 branch as well.
