This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r114634 - in /branches/gcc-4_0-branch/gcc: cp/C...
- From: sayle at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 14 Jun 2006 04:35:31 -0000
- Subject: r114634 - in /branches/gcc-4_0-branch/gcc: cp/C...
Author: sayle
Date: Wed Jun 14 04:35:29 2006
New Revision: 114634
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114634
Log:
PR c++/21210
* typeck2.c (build_functional_cast): Use cp_convert to construct
non-aggregate initializers instead of the user-level build_c_cast.
* g++.dg/init/complex1.C: New test case.
Added:
branches/gcc-4_0-branch/gcc/testsuite/g++.dg/init/complex1.C
Modified:
branches/gcc-4_0-branch/gcc/cp/ChangeLog
branches/gcc-4_0-branch/gcc/cp/typeck2.c
branches/gcc-4_0-branch/gcc/testsuite/ChangeLog