[Bug c++/57557] can't reference static const int member with optimizations on

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jun 7 15:01:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57557

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #1)
> It's undefined behaviour, you take a reference ton object that has no

s/ton object/to an object/



More information about the Gcc-bugs mailing list