re PR c++/48569 (internal compiler error: in build_zero_init_1, at cp/init.c:278)
authorJason Merrill <jason@redhat.com>
Mon, 18 Apr 2011 23:54:47 +0000 (19:54 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 18 Apr 2011 23:54:47 +0000 (19:54 -0400)
commite5dda97187022d04613b9976398cf4996ddbec79
tree457de55616d0a5b36da8fc9245663dc3388d31e8
parent09262fffd58c8bb1f474aa64c4120967f38d3d00
re PR c++/48569 (internal compiler error: in build_zero_init_1, at cp/init.c:278)

PR c++/48569
* typeck2.c (build_functional_cast): Handle VOID_TYPE.

From-SVN: r172680
gcc/cp/ChangeLog
gcc/cp/typeck2.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/init/void1.C [new file with mode: 0644]