URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [builtins/] [pr22237-lib.c] - Rev 849
Go to most recent revision | Compare with Previous | Blame | View Log
extern void abort (void); void * memcpy (void *dst, const void *src, __SIZE_TYPE__ n) { const char *srcp; char *dstp; srcp = src; dstp = dst; if (dst < src) { if (dst + n > src) abort (); } else { if (src + n > dst) abort (); } while (n-- != 0) *dstp++ = *srcp++; return dst; }
Go to most recent revision | Compare with Previous | Blame | View Log