------- Comment #15 from hjl dot tools at gmail dot com 2010-09-02 14:22 ------- A smaller testcase:
--- extern void abort (void); extern void *chk_fail_buf[]; extern volatile int chk_fail_allowed; void test3 (void) { chk_fail_allowed = 1; if (__builtin_setjmp (chk_fail_buf) == 0) abort (); chk_fail_allowed = 0; } --- -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45484