[Bug regression/48570] gcc-4.6: wrong subscription with -std=c++0x
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Apr 12 12:31:00 GMT 2011
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.
More information about the Gcc-bugs
mailing list