repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PR tree-optimization/81384 - built-in form of strnlen missing
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
20061031-1.c
blob
3db0a97f20d8b06a01dc4e29a9157245807e2fd9
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
}