This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/49262] 3-yr-old infinite loop in dwarf2out.c
- 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: Mon, 6 Jun 2011 16:17:40 +0000
- Subject: [Bug debug/49262] 3-yr-old infinite loop in dwarf2out.c
- Auto-submitted: auto-generated
- References: <bug-49262-4@http.gcc.gnu.org/bugzilla/>
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.