I have the same segfault here (amd64, gcc 4.3.1) If you swap their positions, it will work with -O3, too. struct Foo { Vector array_of_vectors[4]; int dummy; }; André Am Thu, 26 Jun 2008 10:13:13 +0200 schrieb Maik Beckmann <beckmann.maik@xxxxxxxxxxxxxx>: > Hi, > > Can someone confirm that this > http://codepad.org/I313t7BN > compiled with > g++ -O3 test.cpp -o test > gives a segfault when trying to run it via > ./test > ?? > > I mailed to the gcc-help list regarding this issue: > http://thread.gmane.org/gmane.comp.gcc.help/24804 > > Thanks, > -- Maik > > PS: I'm on arch64, no testing no unstable. > >
Attachment:
signature.asc
Description: PGP signature