[gcc-4.3.1][c++] weird segfault with -O3 in constructor of a global object

Tom Browder tom.browder@gmail.com
Thu Jun 26 11:28:00 GMT 2008

On Thu, Jun 26, 2008 at 6:10 AM, Maik Beckmann
<beckmann.maik@googlemail.com> wrote:
> $ /opt/bin/g++ -static -O3 test.cpp -o test
> $ ./test

Maik, try one more thing:

Don't use "test" as the program name.

Try recompiling as, say, "ttest".


More information about the Gcc-help mailing list