r123691 - in /branches/gcc-4_1-branch/gcc: cp/C...
mmitchel@gcc.gnu.org
mmitchel@gcc.gnu.org
Tue Apr 10 05:07:00 GMT 2007
Author: mmitchel
Date: Tue Apr 10 06:07:41 2007
New Revision: 123691
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=123691
Log:
PR c++/31449
* class.c (build_base_path): Ensure that the converted pointer has
the same cv-qualification as the input.
PR c++/31449
* g++.dg/init/const5.C: New test.
Added:
branches/gcc-4_1-branch/gcc/testsuite/g++.dg/init/const5.C
Modified:
branches/gcc-4_1-branch/gcc/cp/ChangeLog
branches/gcc-4_1-branch/gcc/cp/class.c
branches/gcc-4_1-branch/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list