Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
gcc.dg
/
pr85167.c
blob: e4277e3ef7220b93f74a4ecfa07f21bcf0f89d3a [
file
] [
log
] [
blame
]
/* PR rtl-optimization/85167 */
/* { dg-do compile } */
/* { dg-options "-O2 -w" } */
struct
A
{
long
b
;
};
int
c
,
d
,
e
;
int
bar
(
void
);
int
foo
(
void
)
{
long
g
;
for
(;
g
==
c
?
0
:
(
e
=
1
);
g
=
((
struct
A
*)
g
)->
b
)
if
(
bar
())
return
d
;
}