blob: 98461710b7ec28025a894d045b42ee36f4c2552a (
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
|
/*
pr65170.c from the execute part of the gcc torture tests.
*/
#include <testfwk.h>
#ifdef __SDCC
#pragma std_c99
#endif
/* PR tree-optimization/65170 */
typedef unsigned long long int V;
typedef unsigned int H;
#ifndef __SDCC_pdk14 // Lack of memory
void
foo (V b, V c)
{
V a;
b &= (H) -1;
c &= (H) -1;
a = b * c;
if (a != 1)
ASSERT (0);
}
#endif
void
testTortureExecute (void)
{
#ifndef __SDCC_pdk14 // Lack of memory
foo (1, 1);
return;
#endif
}
|