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: Tue, 12 Apr 2011 12:31:06 +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 #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-04-12 12:30:54 UTC ---
Yeah, cxx_eval_array_reference doesn't expect to have sizeof (x) > 1 accesses
to STRING_CSTs. Unfortunately, fold_read_from_constant_string doesn't handle
those either, and as for C++0x I fear it must always succeed, it will need to
handle all the endianity fun.