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 middle-end/77357 - strlen of constant strings not folded
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
931009-1.c
blob
292228014e723ab7c40157639d82f5adf8b3a67b
1
main
()
2
{
3
f
();
4
exit
(
0
);
5
}
6
7
static
8
g
(
out
,
size
,
lo
,
hi
)
9
int
*
out
,
size
,
lo
,
hi
;
10
{
11
int
j
;
12
13
for
(
j
=
0
;
j
<
size
;
j
++)
14
out
[
j
] =
j
* (
hi
-
lo
);
15
}
16
17
18
f
()
19
{
20
int
a
[
2
];
21
22
g
(
a
,
2
,
0
,
1
);
23
24
if
(
a
[
0
] !=
0
||
a
[
1
] !=
1
)
25
abort
();
26
}