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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.target/] [i386/] [inline-mcpy.c] - Rev 318

Compare with Previous | Blame | View Log

/* Test if we inline memcpy even with -Os, when the user requested it.  */
/* Don't name this test with memcpy in its name, otherwise the scan-assembler
   would be confused.  */
/* { dg-do compile { target *-*-linux* } } */
/* { dg-options "-Os -minline-all-stringops" } */
/* { dg-final { scan-assembler-not "memcpy" } } */
char f(int i)
{
  char *ram_split[] = { "5:3", "3:1", "1:1", "3:5" };
  return ram_split[i][0];
}
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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