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
/
941014-1.c
blob
98db917428fd19a459c1fd08240190bc31805db4
1
int
f
(
int
a
,
int
b
) { }
2
3
main
()
4
{
5
unsigned long
addr1
;
6
unsigned long
addr2
;
7
8
addr1
= (
unsigned long
) &
f
;
9
addr1
+=
5
;
10
addr2
=
5
+ (
unsigned long
) &
f
;
11
12
if
(
addr1
!=
addr2
)
13
abort
();
14
exit
(
0
);
15
}