2 /* { dg-options "-std=gnu99 -O0" } */
4 /* C99 6.3 Conversions.
6 Check conversions involving fixed-point. */
8 extern void abort (void);
14 ALL_ACCUM_CONV (short _Accum
, hk
);
15 ALL_ACCUM_CONV (_Accum
, k
);
16 ALL_ACCUM_CONV (long _Accum
, lk
);
17 ALL_ACCUM_CONV (long long _Accum
, llk
);
18 ALL_ACCUM_CONV (unsigned short _Accum
, uhk
);
19 ALL_ACCUM_CONV (unsigned _Accum
, uk
);
20 ALL_ACCUM_CONV (unsigned long _Accum
, ulk
);
21 ALL_ACCUM_CONV (unsigned long long _Accum
, ullk
);
23 NEG_CONV (short _Fract
, hr
);
25 NEG_CONV (long _Fract
, lr
);
26 NEG_CONV (long long _Fract
, llr
);
27 NEG_CONV (short _Accum
, hk
);
29 NEG_CONV (long _Accum
, lk
);
30 NEG_CONV (long long _Accum
, llk
);