]> git.pld-linux.org Git - packages/gcc.git/blob - gcc32-dwarf2-pr6381.patch
- merged lost change:
[packages/gcc.git] / gcc32-dwarf2-pr6381.patch
1 2002-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.450835 seconds and 3 git commands to generate.