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
2013-10-21 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
torture
/
pr39132.c
blob
f6e2907e0d6c58b7c680c54ee9d77455f20b1638
1
/* { dg-do run } */
2
/* { dg-options "-ftree-loop-distribution" } */
3
4
extern
void
abort
(
void
);
5
6
struct
epic_private
7
{
8
unsigned int
*
rx_ring
;
9
unsigned int
rx_skbuff
[
5
];
10
};
11
12
int
13
main
(
void
)
14
{
15
struct
epic_private ep
;
16
unsigned int
rx_ring
[
5
];
17
int
i
;
18
19
ep
.
rx_skbuff
[
0
] =
5
;
20
21
ep
.
rx_ring
=
rx_ring
;
22
23
for
(
i
=
0
;
i
<
5
;
i
++)
24
{
25
ep
.
rx_ring
[
i
] =
i
;
26
ep
.
rx_skbuff
[
i
] =
0
;
27
}
28
29
if
(
ep
.
rx_skbuff
[
0
] !=
0
)
30
abort
();
31
32
return
0
;
33
}
34