blob: 41b78de62ac31185cdb8ef558cf64e6bfa5b46c4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
/*
pr62151.c from the execute part of the gcc torture tests.
*/
#include <testfwk.h>
#ifdef __SDCC
#pragma std_c99
#endif
/* PR rtl-optimization/62151 */
int a, c, d, e, f, g, h, i;
short b;
int
fn1 ()
{
b = 0;
for (;;)
{
int j[2];
j[f] = 0;
if (h)
d = 0;
else
{
for (; f; f++)
;
for (a = 0; a < 1; a++)
for (;;)
{
i = b & ((b ^ 1) & 83647) ? b : b - 1;
g = 1 ? i : 0;
e = j[0];
if (c)
break;
return 0;
}
}
}
}
void
testTortureExecute (void)
{
fn1 ();
if (g != -1)
ASSERT (0);
}
|