This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/49418] [4.6 regression] G++ discards cv-quals from template parameter types
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 24 Jun 2011 02:19:31 +0000
- Subject: [Bug c++/49418] [4.6 regression] G++ discards cv-quals from template parameter types
- Auto-submitted: auto-generated
- References: <bug-49418-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49418
--- Comment #9 from Jason Merrill <jason at gcc dot gnu.org> 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