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/49544] [4.7 Regression] ICE in new_elt_loc_list


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49544

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-06-27 16:45:54 UTC ---
Author: jakub
Date: Mon Jun 27 16:45:49 2011
New Revision: 175540

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175540
Log:
    PR debug/49544
    * cselib.c (promote_debug_loc): If cselib_preserve_constants
    and l has two DEBUG_INSN owned locs instead of just one, adjust
    the second location's setting_insn too.

    * gcc.dg/pr49544.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/pr49544.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/cselib.c
    trunk/gcc/testsuite/ChangeLog


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