repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
20070216-1.c
blob
fc235606926d3724d39bbf3de313ecec2baa7e23
1
/* PR rtl-optimization/30787 */
2
/* Testcase by Jakub Jelinek <jakub@gcc.gnu.org> */
3
4
struct
S
5
{
6
int
*
s
;
7
};
8
9
void
test
(
int
x
,
struct
S
*
y
)
10
{
11
int
i
;
12
for
(
i
=
0
;
i
<
x
;
i
++)
13
{
14
if
(
y
)
15
y
->
s
[
i
] +=
1
;
16
}
17
}
18
19
int
main
(
void
)
20
{
21
test
(
1
, (
void
*)
0
);
22
return
0
;
23
}