OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
PR c/38483
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
20061031-1.c
1
/* PR rtl-optimization/29631 */
2
/* Origin: Falk Hueffner <falk@debian.org> */
3
4
const signed char nunmap[] = { 17, -1, 1 };
5
6
__attribute__((noinline))
7
void ff(int i) {
8
asm volatile("");
9
}
10
11
__attribute__((noinline))
12
void f(short delta)
13
{
14
short p0 = 2, s;
15
for (s = 0; s < 2; s++)
16
{
17
p0 += delta;
18
ff(s);
19
if (nunmap[p0] == 17)
20
asm volatile("");
21
}
22
}
23
24
int main(void)
25
{
26
f(-1);
27
return 0;
28
}