This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug regression/48570] gcc-4.6: wrong subscription with -std=c++0x
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 13 Apr 2011 15:48:05 +0000
- Subject: [Bug regression/48570] gcc-4.6: wrong subscription with -std=c++0x
- Auto-submitted: auto-generated
- References: <bug-48570-4@http.gcc.gnu.org/bugzilla/>
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