2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / trunctfdf.c
blob29d6ed0dc9a9a2be3600b557a6b41a88c83a8a1f
1 /* Sparc w/128-bit long double bombed on this because even though
2 the trunctfdf libcall passed the long double by reference, the
3 libcall was still marked as LCT_CONST instead of LCT_PURE. */
5 double *copy(long double *first, long double *last, double *result)
7 int n;
8 for (n = last - first; n > 0; --n) {
9 *result = *first;
10 ++first;
11 ++result;
13 return result;