| 1 |
// PR rtl-optimization/89234 |
| 2 |
// { dg-do compile { target dfp } } |
| 3 |
// { dg-options "-O2 -fnon-call-exceptions -fsanitize=null" } |
| 4 |
|
| 5 |
typedef float __attribute__((mode (SD))) _Decimal32; |
| 6 |
|
| 7 |
void |
| 8 |
foo (_Decimal32 *b, _Decimal32 c) |
| 9 |
{ |
| 10 |
*b = c + 1.5; |
| 11 |
} |