Fortran: Fix PR 47485.
[gcc.git] / gcc / testsuite / g++.dg / ubsan / pr89234.C
blobaf1526c03915c987dcc5a1f9e60c989f2eda4514
1 // PR rtl-optimization/89234
2 // { dg-do compile { target dfp } }
3 // { dg-options "-O2 -fnon-call-exceptions -fsanitize=null" }
5 typedef float __attribute__((mode (SD))) _Decimal32;
7 void
8 foo (_Decimal32 *b, _Decimal32 c)
10   *b = c + 1.5;