[Bug c++/54502] New: g++ 4.6 -std=c++0x ICE (segfault)
doko at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Sep 6 11:26:00 GMT 2012
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: unassigned@gcc.gnu.org
ReportedBy: doko@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.
More information about the Gcc-bugs
mailing list