blob: 1cb76d75a8f391b9ee5fd9287043b0b72ab40fe8 (
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
|
/*
pr64756.c from the execute part of the gcc torture tests.
*/
#include <testfwk.h>
#ifdef __SDCC
#pragma std_c99
#endif
/* PR rtl-optimization/64756 */
int a, *tmp, **c = &tmp;
volatile int d;
static int *volatile *e = &tmp;
unsigned int f;
static void
fn1 (int *p)
{
int g;
for (; f < 1; f++)
for (g = 1; g >= 0; g--)
{
d || d;
*c = p;
if (tmp != &a)
ASSERT (0);
*e = 0;
}
}
void
testTortureExecute (void)
{
fn1 (&a);
return;
}
|