OSDN Git Service

PR c++/43036
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 16 Feb 2010 06:05:09 +0000 (06:05 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 16 Feb 2010 06:05:09 +0000 (06:05 +0000)
commitb98e1bbcc047c22622b2dfcb5963b99db9b43cca
tree40fe916d8d35dae1dbd625b7ed0a84e18d0c48da
parent66bcf69f6c1a77adc29c39ea1a648e90770e22e9
PR c++/43036
* tree.c (build_cplus_array_type): Set TYPE_MAIN_VARIANT to strip
cv-quals from element here.
(cp_build_qualified_type_real): Not here.  Preserve typedef name.

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