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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* This used to ICE on s390 due to a old-loop bug.  */
2
 
3
/* { dg-do compile } */
4
/* { dg-options "-O2" } */
5
 
6
char *strcpy (char *dest, const char *src);
7
 
8
void test (char *Line, int len)
9
{
10
  int z;
11
 
12
  for (z = 1; z <= len; z++)
13
    if (Line[z - 1])
14
      strcpy (Line + z + 1, Line);
15
}
16
 

powered by: WebSVN 2.1.0

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