1 /* { dg-do compile } */ 2 /* { dg-options "-O -fexceptions -fnon-call-exceptions" } */ 3 4 extern void f2 () __attribute__ ((noreturn)); 5 void f1()6 f1 () 7 { 8 unsigned char a[8]; 9 unsigned int i; 10 11 for (i = 0; i < 8; i++) 12 { 13 if (i > 8) 14 f2 (); 15 a[i] = i <= 8; 16 } 17 } 18