[arch-general] [gcc-4.3] segfault when runnung -O3 compiled c++ code
A. Klitzing
aklitzing at online.de
Thu Jun 26 05:59:12 EDT 2008
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 at googlemail.com>:
> 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.
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://archlinux.org/pipermail/arch-general/attachments/20080626/c9288085/attachment.pgp>
More information about the arch-general
mailing list