re PR c++/49395 (Non-class prvalues seem to have cv-qualification with GCC)
authorJason Merrill <jason@redhat.com>
Thu, 23 Jun 2011 16:52:41 +0000 (12:52 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 23 Jun 2011 16:52:41 +0000 (12:52 -0400)
commitece620047b5ef8033e0c066c73c857a4d820d507
treef52930c944813f38597dfd3a856741487b7ca3b0
parentd708df29c844a491bcb9ec44a839b0c9b0b2010f
re PR c++/49395 (Non-class prvalues seem to have cv-qualification with GCC)

PR c++/49395
* init.c (build_zero_init_1): Strip cv-quals from scalar types.

From-SVN: r175339
gcc/cp/ChangeLog
gcc/cp/init.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/init/ref18.C [new file with mode: 0644]