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
/
930713-1.c
blob
6b4d5ab796afa2b692be01918b894d2ee3d7642d
1
typedef
struct
2
{
3
char
x
;
4
}
T
;
5
6
T
7
f
(
s1
)
8
T s1
;
9
{
10
T s1a
;
11
s1a
.
x
=
17
;
12
return
s1a
;
13
}
14
15
main
()
16
{
17
T s1a
,
s1b
;
18
s1a
.
x
=
13
;
19
s1b
=
f
(
s1a
);
20
if
(
s1a
.
x
!=
13
||
s1b
.
x
!=
17
)
21
abort
();
22
exit
(
0
);
23
}