[Bug c++/49418] [4.6 regression] G++ discards cv-quals from template parameter types
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49418 Jason Merrill changed: What|Removed |Added Summary|[4.6/4.7 regression] G++|[4.6 regression] G++ |discards cv-quals from |discards cv-quals from |template parameter types|template parameter types --- Comment #8 from Jason Merrill 2011-06-21 19:07:21 UTC --- Fixed on trunk.
[Bug c++/49418] [4.6 regression] G++ discards cv-quals from template parameter types
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49418 --- Comment #9 from Jason Merrill 2011-06-24 02:18:46 UTC --- Author: jason Date: Fri Jun 24 02:18:42 2011 New Revision: 175368 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175368 Log: PR c++/49418 * typeck2.c (build_functional_cast): Strip cv-quals for value init. * init.c (build_zero_init_1): Not here. Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/init.c trunk/gcc/cp/typeck2.c
[Bug c++/49418] [4.6 regression] G++ discards cv-quals from template parameter types
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49418 --- Comment #10 from Jason Merrill 2011-06-27 20:15:56 UTC --- Author: jason Date: Mon Jun 27 20:15:49 2011 New Revision: 175557 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175557 Log: PR c++/49418 * call.c (cxx_type_promotes_to): Don't strip cv-quals. * semantics.c (lambda_return_type): Strip them here. Added: branches/gcc-4_6-branch/gcc/testsuite/g++.dg/template/param3.C Modified: branches/gcc-4_6-branch/gcc/cp/ChangeLog branches/gcc-4_6-branch/gcc/cp/call.c branches/gcc-4_6-branch/gcc/cp/semantics.c branches/gcc-4_6-branch/gcc/testsuite/ChangeLog
[Bug c++/49418] [4.6 regression] G++ discards cv-quals from template parameter types
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49418 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED --- Comment #11 from Jason Merrill 2011-06-27 20:18:04 UTC --- Fixed for 4.6.2.