Comment 7 for bug 1019725

Revision history for this message
In , Doko-v (doko-v) wrote :

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.