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
/
pr33382.c
blob
ee539643ae67906f863c4798e102ea951d99da3b
1
struct
Foo
{
2
int
i
;
3
int
j
[];
4
};
5
6
struct
Foo x
= {
1
, {
2
,
0
,
2
,
3
} };
7
8
int
foo
(
void
)
9
{
10
x
.
j
[
0
] =
1
;
11
return
x
.
j
[
1
];
12
}
13
14
extern
void
abort
(
void
);
15
16
int
main
()
17
{
18
if
(
foo
() !=
0
)
19
abort
();
20
return
0
;
21
}