https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68656
--- Comment #2 from Bernhard Reutner-Fischer <aldot at gcc dot gnu.org> --- (In reply to Richard Biener from comment #1) > Which version worked ok? I think these warnings should simply not output 4.7.4 worked ok. 4.8.5 onward behave like current trunk a.k.a 6.0 > any location (well, as we now have per-function optimization settings such > warning > may apply only for certain functions...) If it's per-function, it'd be ok to output the location, i'd say. For file-scope it doesn't make sense to me. thanks,