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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [inline-mcpy.c] - Blame information for rev 149

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

Line No. Rev Author Line
1 149 jeremybenn
/* Test if we inline memcpy even with -Os, when the user requested it.  */
2
/* Don't name this test with memcpy in its name, otherwise the scan-assembler
3
   would be confused.  */
4
/* { dg-do compile { target i?86-*-linux* x86_64-*-linux* } } */
5
/* { dg-options "-Os -minline-all-stringops" } */
6
/* { dg-final { scan-assembler-not "memcpy" } } */
7
char f(int i)
8
{
9
  char *ram_split[] = { "5:3", "3:1", "1:1", "3:5" };
10
  return ram_split[i][0];
11
}

powered by: WebSVN 2.1.0

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