re PR c++/24302 (anonymous global union segfault with g++ 3.4.x)
authorMark Mitchell <mark@codesourcery.com>
Tue, 11 Oct 2005 06:19:55 +0000 (06:19 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Tue, 11 Oct 2005 06:19:55 +0000 (06:19 +0000)
commiteb2182e29917811d90278a649a100e8bc8c1d13a
tree409de251d2e760264b6f7cdcef9c4d4b8cc2fe13
parent18c75543a89fc2b6a62b3e2967cb89b83fb96ada
re PR c++/24302 (anonymous global union segfault with g++ 3.4.x)

PR c++/24302
* toplev.c (check_global_declaration_1): Robustify.
PR c++/24302
* g++.dg/warn/Wunused-12.C: New test.

From-SVN: r105222
gcc/cp/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/warn/Wunused-12.C [new file with mode: 0644]
gcc/toplev.c