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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [memmove-1.c] - Blame information for rev 826

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-O2 -fdump-tree-optimized" } */
3
/* { dg-final { scan-tree-dump-times "memmove" 0 "optimized" } } */
4
/* { dg-final { cleanup-tree-dump "optimized" } } */
5
static const char a[100]={1,2,3,4};
6
char b[1000];
7
int i,i1;
8
static inline void
9
__attribute__ ((always_inline))
10
domem (void *dest, const void *src, int len)
11
{
12
        __builtin_memmove (dest, src, len);
13
}
14
t()
15
{
16
        domem (b,a,100);
17
        domem (b+i1,(const void *)b,1);
18
}

powered by: WebSVN 2.1.0

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