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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [torture/] [pr25481.c] - Blame information for rev 827

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

Line No. Rev Author Line
1 149 jeremybenn
/* { dg-do compile } */
2
 
3
struct s {
4
  int *blah;
5
};
6
 
7
static struct s array[] = {
8
  { 0 }
9
};
10
 
11
void
12
foo (struct s *p)
13
{
14
  unsigned int n = 1;
15
  struct s *q = &array[n];
16
  while (p < q)
17
    p++;
18
}

powered by: WebSVN 2.1.0

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