Patchwork [lra] patch fixing a testsuite failure

login
register
mail settings
Submitter Vladimir Makarov
Date Oct. 23, 2012, 8:12 p.m.
Message ID <5086FA24.70304@redhat.com>
Download mbox | patch
Permalink /patch/193566/
State New
Headers show

Comments

Vladimir Makarov - Oct. 23, 2012, 8:12 p.m.
The patch is a patch posted for trunk on

http://gcc.gnu.org/ml/gcc-patches/2012-10/msg02085.html

Committed as rev. 192744.

Patch

Index: lra-constraints.c
===================================================================
--- lra-constraints.c	(revision 192719)
+++ lra-constraints.c	(working copy)
@@ -4300,8 +4300,6 @@  update_ebb_live_info (rtx head, rtx tail
        curr_insn = prev_insn)
     {
       prev_insn = PREV_INSN (curr_insn);
-      if (! INSN_P (curr_insn))
-	continue;
       curr_bb = BLOCK_FOR_INSN (curr_insn);
       if (curr_bb != prev_bb)
 	{
@@ -4336,7 +4334,7 @@  update_ebb_live_info (rtx head, rtx tail
 	  prev_bb = curr_bb;
 	  bitmap_and (&live_regs, &check_only_regs, df_get_live_out (curr_bb));
 	}
-      if (DEBUG_INSN_P (curr_insn))
+      if (! NONDEBUG_INSN_P (curr_insn))
 	continue;
       curr_id = lra_get_insn_recog_data (curr_insn);
       remove_p = false;