Sign in
gnu
/
gcc
/
a6d3012b274f38b20e2a57162106f625746af6c6
/
.
/
gcc
/
testsuite
/
gcc.dg
/
pr45107.c
blob: 05dbec32177a14968cb25adae81b2d6b2d8fb085 [
file
] [
log
] [
blame
]
/* PR rtl-optimization/45107 */
/* { dg-do compile } */
/* { dg-options "-Os -fgcse-las" } */
extern
void
bar
(
int
*);
int
foo
(
int
*
p
)
{
int
i
=
*
p
;
if
(
i
!=
1
)
bar
(&
i
);
*
p
=
i
;
}