http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49262
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
AssignedTo|unassigned at gcc dot |jakub at gcc dot gnu.org
|gnu.org |
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-06-06
16:17:35 UTC ---
Created attachment 24449
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24449
gcc47-pr49262.patch
Untested fix (well, given that we don't have a testcase and nobody hit it, it
is a question if index is ever RANGE_EXPR at that spot so late). I've tried a
few testcases but RANGE_EXPR wasn't present. On the other side, e.g. varasm.c
also
tries to handle it in CONSTRUCTORs.