This is the mail archive of the gcc@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: 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


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