Re: Possible gcc bug with setjmp()?

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

 



On 04/16/2013 03:55 PM, Florian Weimer wrote:
On 04/16/2013 01:53 PM, Jeroen Demeyer wrote:

     int x = setjmp(env);
     int n = g(x);
     fprintf(stderr, "x = %i, n = %i\n", x, n);

     if (n == 0) exit(0);
     if (x) abort();
     longjmp(env, 42);

I think you should file this as a bug report.  I don't think the GCC
behavior is covered by the longjmp() exceptions for automatic variables.

Thanks! Reported as http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56982




[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