Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
ubsan
/
pr89234.C
blob: af1526c03915c987dcc5a1f9e60c989f2eda4514 [
file
] [
log
] [
blame
]
// PR rtl-optimization/89234
// { dg-do compile { target dfp } }
// { dg-options "-O2 -fnon-call-exceptions -fsanitize=null" }
typedef
float
__attribute__
((
mode
(
SD
)))
_Decimal32
;
void
foo
(
_Decimal32
*
b
,
_Decimal32
c
)
{
*
b
=
c
+
1.5
;
}