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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-O2" } */
3
 
4
int
5
zzz (char *s1, char *s2, int len, int *q)
6
{
7
  int z = 5;
8
  unsigned int i, b;
9
  struct s { char a[z]; };
10
  struct s x;
11
 
12
  extern int foo (int, ...) __attribute__((pure));
13
 
14
  for (i = 0; i < len; i++)
15
    s1[i] = s2[i];
16
 
17
  b = z & 0x3;
18
 
19
  len += (b == 0 ? 0 : 1) + z;
20
 
21
  *q = len;
22
  return foo (z, x, x);
23
}

powered by: WebSVN 2.1.0

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