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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [trunctfdf.c] - Diff between revs 149 and 154

Only display areas with differences | Details | Blame | View Log

Rev 149 Rev 154
/* Sparc w/128-bit long double bombed on this because even though
/* Sparc w/128-bit long double bombed on this because even though
   the trunctfdf libcall passed the long double by reference, the
   the trunctfdf libcall passed the long double by reference, the
   libcall was still marked as LCT_CONST instead of LCT_PURE.  */
   libcall was still marked as LCT_CONST instead of LCT_PURE.  */
 
 
double *copy(long double *first, long double *last, double *result)
double *copy(long double *first, long double *last, double *result)
{
{
        int n;
        int n;
        for (n = last - first; n > 0; --n) {
        for (n = last - first; n > 0; --n) {
                *result = *first;
                *result = *first;
                ++first;
                ++first;
                ++result;
                ++result;
        }
        }
        return result;
        return result;
}
}
 
 

powered by: WebSVN 2.1.0

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