http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53493
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID --- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-05-26 20:30:00 UTC --- (In reply to comment #5) > "it has to be the same in each translational unit that it is used" > > That doesn't mean it has to be /deleted/. It means it can be deleted. This is not a bug in GCC but rather your source. C++ is different from C here. Simple as that. If it is deleted it exposes a ODR violation in your source.