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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [trunctfdf.c] - Blame information for rev 297

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 297 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.