OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [20040726-2.c] - Blame information for rev 297

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

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