Hello, 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 ?