This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/49544] [4.7 Regression] ICE in new_elt_loc_list
- 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, 27 Jun 2011 17:06:41 +0000
- Subject: [Bug debug/49544] [4.7 Regression] ICE in new_elt_loc_list
- Auto-submitted: auto-generated
- References: <bug-49544-4@http.gcc.gnu.org/bugzilla/>
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