r156792 - in /trunk/gcc: cp/ChangeLog cp/tree.c...
jason@gcc.gnu.org
jason@gcc.gnu.org
Tue Feb 16 06:05:00 GMT 2010
Author: jason
Date: Tue Feb 16 06:05:09 2010
New Revision: 156792
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=156792
Log:
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.
Added:
trunk/gcc/testsuite/g++.dg/other/array6.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/tree.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list