]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/38698 (ICE initializing union with initializer list)
authorJason Merrill <jason@redhat.com>
Tue, 6 Jan 2009 03:27:39 +0000 (22:27 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 6 Jan 2009 03:27:39 +0000 (22:27 -0500)
commit9bfea41b05947073cce682a8a6cf14924064fbde
tree9733822ded9e2fc2f88167786037c4eadb498da2
parent77d96a79bfcc66cba3e59bee6b80477c5bd08df2
re PR c++/38698 (ICE initializing union with initializer list)

        PR c++/38698
        * typeck2.c (process_init_constructor_union): Handle union with
        no fields.

        * mangle.c (write_expression): Remove mangling for zero-operand
        casts.

From-SVN: r143111
gcc/cp/ChangeLog
gcc/cp/mangle.c
gcc/cp/typeck2.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/initlist12.C