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
/
930518-1.c
blob
44bdf96afb739e6dd25fca7441e63d27aa7aaf6c
1
int
bar
=
0
;
2
3
f
(
p
)
4
int
*
p
;
5
{
6
int
foo
=
2
;
7
8
while
(
foo
>
bar
)
9
{
10
foo
-=
bar
;
11
*
p
++ =
foo
;
12
bar
=
1
;
13
}
14
}
15
16
main
()
17
{
18
int
tab
[
2
];
19
tab
[
0
] =
tab
[
1
] =
0
;
20
f
(
tab
);
21
if
(
tab
[
0
] !=
2
||
tab
[
1
] !=
1
)
22
abort
();
23
exit
(
0
);
24
}