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.
this works with 4.7 and trunk, fails with 4.6
$ cat foo.cc :deque< int[2]> y;
#include <deque>
int main(){
std:
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.