libstdc++: Make some _Hashtable members inline
[official-gcc.git] / gcc / testsuite / gcc.dg / dfp / bid-non-canonical-d32-1.c
blobb5f45b374b7381f7c91e9afa2879bbc238d32249
1 /* Test non-canonical BID significands: _Decimal32. Bug 91226. */
2 /* { dg-require-effective-target dfp_bid } */
3 /* { dg-options "-std=gnu23 -O2" } */
5 extern void abort (void);
6 extern void exit (int);
8 union u
10 _Decimal32 d32;
11 unsigned int u32;
14 int
15 main (void)
17 union u x;
18 _Decimal32 d32;
19 x.u32 = 0x6cb89681U;
20 d32 = x.d32;
21 volatile double d = d32;
22 if (d == 0)
23 exit (0);
24 else
25 abort ();