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

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.dg/] [debug/] [const1.C] - Blame information for rev 378

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

Line No. Rev Author Line
1 301 jeremybenn
// PR c++/6381
2
// Bug: we were emitting the initializer for bar, which referenced foo,
3
// which was not emitted.
4
 
5
// { dg-options "-O" }
6
// { dg-do link }
7
 
8
static const int foo[] = { 0 };
9
static const int * const bar[] = { foo };
10
 
11
int main() {}

powered by: WebSVN 2.1.0

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