1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
/* PR rtl-optimization/17027 */ /* Origin: dbk <sfc@village.uunet.be> */ /* Testcase by Christian Ehrhardt <ehrhardt@mathematik.uni-ulm.de> */ int bar(void); void baz (void) __attribute__ ((noreturn)); /* noreturn is required */ void foo (void) { while (bar ()) { switch (1) { default: baz (); } } }