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
/
950621-1.c
blob
5fc5a90287413aeb83ab0b831330d85b9a290b43
1
struct
s
2
{
3
int
a
;
4
int
b
;
5
struct
s
*
dummy
;
6
};
7
8
f
(
struct
s
*
sp
)
9
{
10
return
sp
&&
sp
->
a
== -
1
&&
sp
->
b
== -
1
;
11
}
12
13
main
()
14
{
15
struct
s x
;
16
x
.
a
=
x
.
b
= -
1
;
17
if
(
f
(&
x
) ==
0
)
18
abort
();
19
exit
(
0
);
20
}