This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r114449 - in /branches/gcc-4_1-branch/gcc: cp/C...
- From: mmitchel at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 06 Jun 2006 21:39:34 -0000
- Subject: r114449 - in /branches/gcc-4_1-branch/gcc: cp/C...
Author: mmitchel
Date: Tue Jun 6 21:39:33 2006
New Revision: 114449
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114449
Log:
PR c++/27177
* call.c (standard_conversion): Require that the derived type be
complete when performing a derived-to-base conversion.
PR c++/27177
* g++.dg/expr/cast7.C: New test.
Added:
branches/gcc-4_1-branch/gcc/testsuite/g++.dg/expr/cast7.C
Modified:
branches/gcc-4_1-branch/gcc/cp/ChangeLog
branches/gcc-4_1-branch/gcc/cp/call.c
branches/gcc-4_1-branch/gcc/testsuite/ChangeLog