Re: segfault with -O3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 02/01/2011 02:40 PM, manju k wrote:

I am getting segfault in my application if i compile it using -O3 flag ,
removing this flag during compilation resolves the problem

I am using gcc 4.1.2 on intel 64bit system.

The core file does not point to anything that I suppect of in my application.

How do I isolate if it is  gcc problem or my application problem ?

Is this GNU/Linux?  Run with Valgind memcheck.

If that doesn't help, check compiler warnings and use gdb.

Andrew.


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux