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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [debug/] [const1.C] - Blame information for rev 841

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

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