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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [pr39983.c] - Blame information for rev 801

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

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