X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fgcc.dg%2F980211-1.c;fp=gcc%2Ftestsuite%2Fgcc.dg%2F980211-1.c;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=11b3c36f1725e020685f3e01d68455732fc7be23;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/gcc.dg/980211-1.c b/gcc/testsuite/gcc.dg/980211-1.c deleted file mode 100644 index 11b3c36f..00000000 --- a/gcc/testsuite/gcc.dg/980211-1.c +++ /dev/null @@ -1,29 +0,0 @@ -/* Test long double on x86. */ - -/* { dg-do run { target i?86-*-* } } */ -/* { dg-options -O2 } */ - -extern void abort (void); - -__inline int -__signbitl (long double __x) -{ - union { long double __l; int __i[3]; } __u = { __l: __x }; - - return (__u.__i[2] & 0x8000) != 0; -} - -void -foo (long double x, long double y) -{ - long double z = x / y; - if (__signbitl (x) && __signbitl (z)) - abort (); -} - -int main() -{ - if (sizeof (long double) > sizeof (double)) - foo (-0.0, -1.0); - return 0; -}