/home/ed/bin-4.3/bin/g++ -O2 -ffast-math -funroll-loops -fPIC -c -D__HAVE_OPEN_INVENTOR__ -U__HAVE_XML__ -U__HAVE_SQLITE__ -U__HAVE_MYSQL__ -U__HAVE_PGSQL__ -U__HAVE_ORACLE__ -D__STL_EXTENSION_TR1__ -W -Wall -o obj/collision.o ./collision.cpp ./collision.cpp: In member function ‘void Simplex3D::get_collisions(const Edge&, std::vector<Collision, std::allocator<Collision> >&) const’: ./collision.cpp:203: internal compiler error: in try_instantiate_multiple_fields, at tree-sra.c:1601 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. make: *** [obj/collision.o] Error 1
Created attachment 13380 [details] Preprocessed output from the source causing the ICE. The initial bug creation doesn't seem to allow attachments. :)
> The initial bug creation doesn't seem to allow attachments. :) Which is fixed in bugzilla 3.0 which we will be updating in the near future.
Reduced testcase: class Collision { int edge; int triangle; float _M_instance[3] __attribute__((__aligned__)); }; void get_collisions(Collision a) { Collision b = a; }
We try to get a type for size of 128bits which is TImode. And on x86, TImode is not supported.
Fixed by: 2007-04-30 Alexandre Oliva <aoliva@redhat.com> PR middle-end/22156 Temporarily revert: I will apply a testcase.
Fixed.
Subject: Bug 31606 Author: pinskia Date: Tue May 22 23:05:40 2007 New Revision: 124968 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124968 Log: 2007-05-22 Andrew Pinski <andrew_pinski@playstation.sony.com> PR middle-end/31606 * gcc.c-torture/20070522-1.c: New testcase. Added: trunk/gcc/testsuite/gcc.c-torture/20070522-1.c Modified: trunk/gcc/testsuite/ChangeLog