Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
gcc.dg
/
pr48189.c
blob: 86b995dc9848edf3c78e937cc9c6a41251ea7536 [
file
] [
log
] [
blame
]
/* PR tree-optimization/48189 */
/* { dg-do compile } */
/* { dg-options "-O --param max-predicted-iterations=0" } */
struct
S
{
int
s
[
8
];
};
void
foo
(
int
*
x
,
struct
S
*
y
)
{
int
i
;
for
(
i
=
0
;
y
[
i
].
s
[
i
];
i
++)
*
x
++
=
y
[
i
].
s
[
i
];
}