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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [pr39983.c] - Blame information for rev 297

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 297 jeremybenn
typedef struct {
2
    int *p;
3
} *A;
4
 
5
extern const int a[1];
6
extern const int b[1];
7
 
8
void foo()
9
{
10
  A x;
11
  A y;
12
  static const int * const c[] = { b };
13
 
14
  x->p = (int*)c[0];
15
  y->p = (int*)a;
16
}
17
 

powered by: WebSVN 2.1.0

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