Sign in
gnu
/
gcc
/
refs/heads/devel/c++-contracts
/
.
/
gcc
/
testsuite
/
gcc.dg
/
pr105461.c
blob: 1e6743ccac27d8311d389f13fe3fb963d988cad2 [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "-O2 -fassociative-math -fsignaling-nans -fvar-tracking -w" } */
int
bar
(
float
*
x
,
int
y
)
{
*
x
=
y
;
return
*
x
;
}
__attribute__
((
optimize
(
"O2"
)))
void
foo
(
float
*
x
,
int
y
)
{
int
a
=
bar
(
x
,
y
);
}