Commit 8a76ce4e by Ian Lance Taylor Committed by Ian Lance Taylor

re PR middle-end/51592 (ICE with -fnon-call-exceptions)

	PR middle-end/51592
	* gcc.dg/20111216-1.c: New test.

From-SVN: r182419
parent 10574a9f
2011-12-16 Ian Lance Taylor <iant@google.com>
PR middle-end/51592
* gcc.dg/20111216-1.c: New test.
2011-12-16 Jason Merrill <jason@redhat.com>
PR c++/51461
......
/* { dg-do compile } */
/* { dg-options "-O -fexceptions -fnon-call-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;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment