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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [20040726-2.c] - Blame information for rev 774

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

Line No. Rev Author Line
1 688 jeremybenn
/* { dg-do compile } */
2
/* From a failure after the global ccp pass.  */
3
typedef struct
4
{
5
  char n[129];
6
} A;
7
 
8
const A C = {
9
  0,
10
 
11
};
12
 
13
extern const A *const B;
14
 
15
void bar(const char *);
16
 
17
void foo ()
18
{
19
  bar (B->n);
20
}
21
 
22
const A *const B = &C;

powered by: WebSVN 2.1.0

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