]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/gcc.c-torture/compile/trunctfdf.c
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / gcc.c-torture / compile / trunctfdf.c
diff --git a/gcc/testsuite/gcc.c-torture/compile/trunctfdf.c b/gcc/testsuite/gcc.c-torture/compile/trunctfdf.c
deleted file mode 100644 (file)
index 29d6ed0..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-/* Sparc w/128-bit long double bombed on this because even though
-   the trunctfdf libcall passed the long double by reference, the
-   libcall was still marked as LCT_CONST instead of LCT_PURE.  */
-
-double *copy(long double *first, long double *last, double *result)
-{
-       int n;
-       for (n = last - first; n > 0; --n) {
-               *result = *first;
-               ++first;
-               ++result;
-       }
-       return result;
-}