This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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".

-Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]