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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [pr51683.c] - Blame information for rev 801

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

Line No. Rev Author Line
1 689 jeremybenn
/* PR tree-optimization/51683 */
2
/* { dg-do compile } */
3
/* { dg-options "-O2 -fdump-tree-optimized" } */
4
 
5
static inline void *
6
bar (void *p, void *q, int r)
7
{
8
  return __builtin_memcpy (p, q, r);
9
}
10
 
11
void *
12
foo (void *p)
13
{
14
  return bar ((void *) 0x12345000, p, 256);
15
}
16
 
17
/* { dg-final { scan-tree-dump "memcpy" "optimized" } } */
18
/* { dg-final { cleanup-tree-dump "optimized" } } */

powered by: WebSVN 2.1.0

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