[Bug debug/49544] [4.7 Regression] ICE in new_elt_loc_list
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jun 27 17:06:00 GMT 2011
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
More information about the Gcc-bugs
mailing list