r172377 - in /trunk/gcc: cp/ChangeLog cp/semant...
jakub@gcc.gnu.org
jakub@gcc.gnu.org
Wed Apr 13 15:38:00 GMT 2011
Author: jakub
Date: Wed Apr 13 15:38:50 2011
New Revision: 172377
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172377
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:
trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-wstring1.C
trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-wstring2.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/semantics.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list