OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [trunctfdf.c] - Blame information for rev 154

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* 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.  */
4
 
5
double *copy(long double *first, long double *last, double *result)
6
{
7
        int n;
8
        for (n = last - first; n > 0; --n) {
9
                *result = *first;
10
                ++first;
11
                ++result;
12
        }
13
        return result;
14
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.