[Bug c++/23370] No error at -O1 for static const class member passed by reference
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Aug 13 06:42:00 GMT 2005
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-13 06:42 -------
Since the static const can be "inlined" at higher level of optimizations which is allowed by the C++
standard, this is not a bug.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23370
More information about the Gcc-bugs
mailing list