]> gcc.gnu.org Git - gcc.git/commit - gcc/stmt.c
re PR c++/5748 (g++ dies with optimization)
authorJakub Jelinek <jakub@redhat.com>
Fri, 22 Feb 2002 21:09:09 +0000 (22:09 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 22 Feb 2002 21:09:09 +0000 (22:09 +0100)
commit3256b817fc4df76420ab88b8f83dabeb66939360
treea72c0063813e38c6c4dd851832a48761e804370e
parent9e0625a316b67773587f024b1d8d7814d9246876
re PR c++/5748 (g++ dies with optimization)

PR c++/5748
* stmt.c (expand_anon_union_decl): Set TREE_USED on the anon union
decl if any of elements was TREE_USED.

* g++.dg/opt/anonunion1.C: New test.

From-SVN: r49971
gcc/ChangeLog
gcc/stmt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/opt/anonunion1.C [new file with mode: 0644]
This page took 0.055838 seconds and 5 git commands to generate.