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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [memcpy-3.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
/* { dg-do compile } */
2
/* { dg-options "-O -fdump-tree-optimized" } */
3
/* { dg-require-effective-target non_strict_align } */
4
 
5
int get_int(const void *p)
6
{
7
  int w;
8
  __builtin_memcpy(&w, p, sizeof (int));
9
  return w;
10
}
11
 
12
/* { dg-final { scan-tree-dump-not "memcpy" "optimized" } } */
13
/* { dg-final { scan-tree-dump-times "MEM" 1 "optimized" } } */
14
/* { 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.