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

             Bug #: 54502
           Summary: g++ 4.6 -std=c++0x ICE (segfault)
    Classification: Unclassified
           Product: gcc
           Version: 4.6.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: d...@gcc.gnu.org


this works with 4.7 and trunk, fails with 4.6

$ cat foo.cc 
#include <deque>
int main(){
   std::deque<int[2]> y;
   y.push_back( {2,5} );
}

$ g++-4.6 -std=c++0x foo.cc 
foo.cc: In function 'int main()':
foo.cc:4:23: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.

Reply via email to