http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48570

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-04-13 
15:47:44 UTC ---
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

Reply via email to