1 /* { dg-options "-O2" } */
3 /* C99 6.5.5: Multiplicative operators.
4 C99 6.5.6: Additive operators. */
8 extern void link_error (void);
13 _Decimal32 d32_1
, d32_2
;
15 /* Compare like-typed positive constants. */
16 if (2.99df
+ 5.1df
!= 8.09df
)
19 if (5.77df
- 2.22dd
!= 3.55df
)
22 if (2.0dl
* 3.7dd
* -2 != -14.8df
)
25 if (.18df
/ -.2df
+ 1 != 1.e
-1dd
)
31 if (!__builtin_constant_p (d32_1
+ 0.2df
))
34 if (!__builtin_constant_p (1.0df
/ 3.0df
))
37 if (!__builtin_constant_p (d32_2
/ d32_1
))
41 if (!__builtin_constant_p (d32_2
/ d32_1
))