]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/27177 (ICE in build_simple_base_path, at cp/class.c:474)
authorMark Mitchell <mark@codesourcery.com>
Tue, 6 Jun 2006 21:38:54 +0000 (21:38 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Tue, 6 Jun 2006 21:38:54 +0000 (21:38 +0000)
commitb6ca28e64b3f31a4fac50e506f63d947d9697ca0
treebd2f3421ea002ee456b375edb294c66e22917bae
parent6edf8a522985d30615ff15de817b1b47969dc5b9
re PR c++/27177 (ICE in build_simple_base_path, at cp/class.c:474)

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.

From-SVN: r114448
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/expr/cast7.C [new file with mode: 0644]