blob: 7f9395e41e51bdf1f4fe330dc8ac9b816d0932c9 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-O -fexceptions -fnon-call-exceptions" } */
/* { dg-require-effective-target exceptions } */
extern void f2 () __attribute__ ((noreturn));
void
f1 ()
{
unsigned char a[8];
unsigned int i;
for (i = 0; i < 8; i++)
{
if (i > 8)
f2 ();
a[i] = i <= 8;
}
}