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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [torture/] [pr51760.c] - Blame information for rev 754

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

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-do compile } */
2
 
3
extern inline __attribute__ ((always_inline)) void *
4
memmove (void *dest, const void *src, __SIZE_TYPE__ len)
5
{
6
  return __builtin___memmove_chk (dest, src, len,
7
                                  __builtin_object_size (dest, 0));
8
}
9
 
10
void
11
foo (void)
12
{
13
  char a[64], *b;
14
  for (;;)
15
    {
16
      memmove (a, b, 0);
17
      b = a;
18
    }
19
}

powered by: WebSVN 2.1.0

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