[Bug c++/21089] [4.0/4.1 Regression] C++ front-end does not "inline" the static const double
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Apr 28 02:11:00 GMT 2005
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-28 02:09 -------
(In reply to comment #11)
> Is this optimization valid? Note that it will change the behavior of this c++
> program:
You are correct Chris, this was an invalid optimization.
This is a dup of bug 19320. Though we still have a "wrong code" bug with respect with const still being
on the decl but that is PR 20912.
*** This bug has been marked as a duplicate of 19320 ***
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21089
More information about the Gcc-bugs
mailing list