Fix gimplification of ordering comparisons of arrays of bytes
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / fp-int-convert-float80.c
blobe545613beed094f3dd0ca5870e659511d0f04398
1 /* Test floating-point conversions. __float80 type. */
2 /* Origin: Joseph Myers <joseph@codesourcery.com> */
3 /* { dg-do run { target i?86-*-* x86_64-*-* ia64-*-* } } */
4 /* { dg-options "" } */
6 #include "fp-int-convert.h"
8 #define FLOAT80_MANT_DIG 64
9 #define FLOAT80_MAX_EXP 16384
11 int
12 main (void)
14 TEST_I_F(signed char, unsigned char, __float80, FLOAT80_MANT_DIG, FLOAT80_MAX_EXP);
15 TEST_I_F(signed short, unsigned short, __float80, FLOAT80_MANT_DIG, FLOAT80_MAX_EXP);
16 TEST_I_F(signed int, unsigned int, __float80, FLOAT80_MANT_DIG, FLOAT80_MAX_EXP);
17 TEST_I_F(signed long, unsigned long, __float80, FLOAT80_MANT_DIG, FLOAT80_MAX_EXP);
18 TEST_I_F(signed long long, unsigned long long, __float80, FLOAT80_MANT_DIG, FLOAT80_MAX_EXP);
19 exit (0);