gcc toplevel:
authorJ"orn Rennecke <amylaar@cygnus.co.uk>
Thu, 14 Oct 1999 02:18:10 +0000 (02:18 +0000)
committerJoern Rennecke <amylaar@gcc.gnu.org>
Thu, 14 Oct 1999 02:18:10 +0000 (03:18 +0100)
commita59f86402f8ffb904e9dccb10568371a890e1f30
tree4156840afb1607ce49dc0ece52f2b961fbaa942f
parent5cf531a862a201c899afabde00e1cdc8b04cd9c9
gcc toplevel:

* expr.c (store_constructor): Clear union if constructor is empty.
cp:
* typeck2.c (process_init_constructor): Handle empty constructors.
testsuite:
* g++.old-deja/g++.other/union2.C: New test.

From-SVN: r29956
gcc/ChangeLog
gcc/cp/ChangeLog
gcc/cp/typeck2.c
gcc/expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.old-deja/g++.other/union2.C [new file with mode: 0644]