re PR c++/48798 (CV-qualified base class erroneously forbidden)
authorPaolo Carlini <paolo.carlini@oracle.com>
Thu, 28 Apr 2011 18:12:29 +0000 (18:12 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Thu, 28 Apr 2011 18:12:29 +0000 (18:12 +0000)
commit546a41977ba5c1eacb17a73ef46f05a744056993
treec8505ef953cb6a8d3fdd8b8f6e793b0a6885d4d0
parentf62cd40949d0219d9c2c6e24afb0377fcde9d0e3
re PR c++/48798 (CV-qualified base class erroneously forbidden)

/cp
2011-04-28  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/48798
* semantics.c (finish_base_specifier): cv-qualified base class
is fine, per DR 484.

/testsuite
2011-04-28  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/48798
* g++.dg/inherit/pr48798.C: New.
* g++.old-deja/g++.other/base1.C: Adjust.

From-SVN: r173124
gcc/cp/ChangeLog
gcc/cp/semantics.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/inherit/pr48798.C [new file with mode: 0644]
gcc/testsuite/g++.old-deja/g++.other/base1.C