OSDN Git Service

PR c++/31449
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 9 Apr 2007 19:45:53 +0000 (19:45 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 9 Apr 2007 19:45:53 +0000 (19:45 +0000)
commitf0d39cc97bf936226a1254c150e3c70f21dfab0e
tree2e58e8f6b8559201c4de3c552c43bd48eba5d9f9
parent1ec3279582f663236038f253a46e295c9b78dfce
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123679 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/init/const5.C [new file with mode: 0644]