[Bug c++/41997] [C++0x] constant initializer_list not optimised

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Nov 10 08:28:00 GMT 2009



------- Comment #3 from pinskia at gcc dot gnu dot org  2009-11-10 08:28 -------
The decl holding the constant initializer_list is not being marked as read only
for some reason.  Even the static to constant optimization is not marking it as
read only.  Tomorrow I will look further into it.  To see why the decl is not
being marked as such (which causes this missed optimization).


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2009-11-10 08:28:00
               date|                            |


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



More information about the Gcc-bugs mailing list