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
2017-11-15 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr48189.c
blob
86b995dc9848edf3c78e937cc9c6a41251ea7536
1
/* PR tree-optimization/48189 */
2
/* { dg-do compile } */
3
/* { dg-options "-O --param max-predicted-iterations=0" } */
4
5
struct
S
{
int
s
[
8
]; };
6
7
void
8
foo
(
int
*
x
,
struct
S
*
y
)
9
{
10
int
i
;
11
for
(
i
=
0
;
y
[
i
].
s
[
i
];
i
++)
12
*
x
++ =
y
[
i
].
s
[
i
];
13
}