This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r172378 - in /branches/gcc-4_6-branch/gcc: cp/C...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 13 Apr 2011 15:47:41 -0000
- Subject: r172378 - in /branches/gcc-4_6-branch/gcc: cp/C...
Author: jakub
Date: Wed Apr 13 15:47:40 2011
New Revision: 172378
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172378
Log:
PR c++/48570
* semantics.c (cxx_eval_array_reference): Handle reading from
wchar_t, char16_t and char32_t STRING_CST.
* g++.dg/cpp0x/constexpr-wstring1.C: New test.
* g++.dg/cpp0x/constexpr-wstring2.C: New test.
Added:
branches/gcc-4_6-branch/gcc/testsuite/g++.dg/cpp0x/constexpr-wstring1.C
branches/gcc-4_6-branch/gcc/testsuite/g++.dg/cpp0x/constexpr-wstring2.C
Modified:
branches/gcc-4_6-branch/gcc/cp/ChangeLog
branches/gcc-4_6-branch/gcc/cp/semantics.c
branches/gcc-4_6-branch/gcc/testsuite/ChangeLog