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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [opt/] [fold1.C] - Blame information for rev 717

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

Line No. Rev Author Line
1 693 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.