This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug debug/49262] 3-yr-old infinite loop in dwarf2out.c


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]