Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
dfp
/
pr92744.C
blob: 5026e8d7db5df1acc45360dd48b9f467258762b1 [
file
] [
log
] [
blame
]
// PR target/92744
// { dg-do compile }
// { dg-options "-Os -fno-tree-ccp" }
typedef
float
T __attribute__
((
mode
(
SD
)));
struct
A
{
T a
;
};
void
foo
();
bool
operator
!=
(
A x
,
A y
)
{
return
x
.
a
!=
y
.
a
;
}
void
bar
(
A x
,
A y
)
{
if
(
x
!=
y
)
foo
();
}