1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
/* PR debug/51762 */ /* { dg-do compile } */ /* { dg-options "-g -Os -fomit-frame-pointer -fno-asynchronous-unwind-tables" } */ void noret (void) __attribute__ ((noreturn)); int bar (void); void baz (const char *); static int v = -1; void foo (void) { if (bar () && v == -1) { baz ("baz"); noret (); } noret (); }