This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r123691 - 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, 10 Apr 2007 05:07:42 -0000
- Subject: r123691 - in /branches/gcc-4_1-branch/gcc: cp/C...
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