]> git.pld-linux.org Git - packages/gcc.git/blame - gcc32-dwarf2-pr6381.patch
- Release: 1 (STBR after AMD64 fixes)
[packages/gcc.git] / gcc32-dwarf2-pr6381.patch
CommitLineData
5384b728 12002-05-08 Jason Merrill <jason@redhat.com>
2
3 * g++.dg/debug/const1.C: New test.
4
5--- gcc/testsuite/g++.dg/debug/const1.C.jj Thu Aug 30 22:30:55 2001
6+++ gcc/testsuite/g++.dg/debug/const1.C Wed May 8 17:33:04 2002
7@@ -0,0 +1,11 @@
8+// PR c++/6381
9+// Bug: we were emitting the initializer for bar, which referenced foo,
10+// which was not emitted.
11+
12+// { dg-options "-O" }
13+// { dg-do link }
14+
15+static const int foo[] = { 0 };
16+static const int * const bar[] = { foo };
17+
18+int main() {}
This page took 0.271951 seconds and 4 git commands to generate.