------- 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