re PR c++/49418 (G++ discards cv-quals from template parameter types)
authorJason Merrill <jason@redhat.com>
Fri, 24 Jun 2011 02:18:42 +0000 (22:18 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 24 Jun 2011 02:18:42 +0000 (22:18 -0400)
commit908e152c84b2f3f97f0b5d316e9402aeeeef2b76
treecf5bb3999e4c3ff8784a28abdbdd8e586a928d10
parentcb77790aafc1ce69fd150e8009eadefe54557c69
re PR c++/49418 (G++ discards cv-quals from template parameter types)

PR c++/49418
* typeck2.c (build_functional_cast): Strip cv-quals for value init.
* init.c (build_zero_init_1): Not here.

From-SVN: r175368
gcc/cp/ChangeLog
gcc/cp/init.c
gcc/cp/typeck2.c