This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug regression/48570] gcc-4.6: wrong subscription with -std=c++0x


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]