Re: Possible gcc bug with setjmp()?

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

 



On 04/16/2013 01:53 PM, Jeroen Demeyer wrote:
I have some problematic code using setjmp() behaving differently from
what I expect.  I would like to know whether it is a bug in GCC or
whether I am somehow abusing setjmp()/longjmp().

Call the example program below jmp.c and compile with
gcc -Og jmp.c -o jmp
using GCC-4.8.0. Run the program ./jmp and the output is

Compiling with -fno-tree-dominator-opts makes the program run as expected.




[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