This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Optimization flag causing crash of a multithreaded application
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: "Abhijit H. Bhosale" <abhijit_bhosale at pspl dot co dot in>
- Cc: gcc <gcc at gcc dot gnu dot org>
- Date: Thu, 26 Sep 2002 12:52:34 -0400
- Subject: Re: Optimization flag causing crash of a multithreaded application
The AIX errlog backtrace with truncated names which you provided
in your message is insufficient to investigate this crash. Instead of
randomly disabling optimizations, it would be much more productive if you
could attach a debugger, such as GDB, to the application and debug the
actual failure. Also, it is not correct to assume that a GCC optimization
is "inducing" the crash, as opposed to a bug in your application which
is exposed only when it is compiled with optimization.
David