Commit 49ed1a46 by Richard Biener Committed by Richard Biener

pr58830.c: New testcase.

2013-10-23  Richard Biener  <rguenther@suse.de>

	* gcc.dg/torture/pr58830.c: New testcase.

From-SVN: r203957
parent 1a0e9d1c
2013-10-23 Richard Biener <rguenther@suse.de>
* gcc.dg/torture/pr58830.c: New testcase.
2013-10-23 Edward Smith-Rowland <3dw4rd@verizon.net>
Implement C++14 [[deprecated]] modulo [[gnu::deprecated]] bugs.
......
/* { dg-do run } */
/* { dg-additional-options "-ftree-pre -ftree-partial-pre" } */
extern void abort (void);
int b, c, d, f, g, h, i, j[6], *l = &b, *m, n, *o, r;
char k;
static int
foo ()
{
char *p = &k;
for (; d; d++)
if (i)
h = 0;
else
h = c || (r = 0);
for (f = 0; f < 2; f++)
{
unsigned int q;
*l = 0;
if (n)
*m = g;
if (g)
o = 0;
for (q = -8; q >= 5; q++)
(*p)--;
}
return 0;
}
int
main ()
{
foo ();
if (j[j[j[j[j[j[j[j[j[j[j[j[j[j[j[j[j[j[j[j[j[j[j[j[j[j[j[j[j[j[j[j[j[j[j[j[j[j[j[j[j[j[0]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]] ^ (k & 15)] != 0)
abort ();
return 0;
}
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