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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.dg/] [opt/] [fold1.C] - Blame information for rev 826

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 301 jeremybenn
// PR middle-end/13696
2
// { dg-do compile }
3
// { dg-options "-O2" }
4
 
5
extern void x(unsigned long*);
6
 
7
enum e { red, blue, green };
8
 
9
struct s {
10
  unsigned long l;
11
};
12
struct s map[1][256];
13
 
14
void
15
f(int i,e j) {
16
     x(&(map[i][j].l));
17
}

powered by: WebSVN 2.1.0

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