Commit cdc1a2c8 by H.J. Lu Committed by H.J. Lu

Add a test for PR tree-optimization/69989

	PR tree-optimization/69989
	* gcc.dg/torture/pr69989.c: New test.

From-SVN: r233792
parent 33505bcf
2016-02-28 H.J. Lu <hongjiu.lu@intel.com>
PR tree-optimization/69989
* gcc.dg/torture/pr69989.c: New test.
2016-02-28 Eric Botcazou <ebotcazou@adacore.com> 2016-02-28 Eric Botcazou <ebotcazou@adacore.com>
* gcc.target/i386/stack-realign-win.c: New test. * gcc.target/i386/stack-realign-win.c: New test.
......
/* { dg-do compile } */
extern int a, b, d;
extern char c[];
void
fn1 (void)
{
for (;;)
{
if (b)
{
LABEL_T5T5T:
for (; d < a; d++)
c[d] = 6;
}
break;
}
if (a > 6)
{
a = 4;
goto LABEL_T5T5T;
}
}
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