[Bug c++/52951] internal compiler error with c++11 initializer lists and C arrays

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Apr 12 21:32:00 GMT 2012


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

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2012-04-12
                 CC|                            |jason at gcc dot gnu.org
     Ever Confirmed|0                           |1

--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> 2012-04-12 21:32:00 UTC ---
This seems to be fixed already for 4.7.1.  Now the compiler says,

.../libstdc++-v3/include/bits/stl_pair.h:132:45: error: array used as
initializer

when the pair constructor tries to initialize one array from another.



More information about the Gcc-bugs mailing list