From 885c9b5d3a53c531fca622b4a3b0ef03df92daed Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Tue, 16 Nov 2010 22:13:52 +0000 Subject: re PR rtl-optimization/46315 (-O2 -fno-strict-overflow causes wrong code generation) PR rtl-optimization/46315 * rtl.h (remove_reg_equal_equiv_notes_for_regno): Declare. * rtlanal.c (remove_reg_equal_equiv_notes_for_regno): New function extracted from... * dce.c (delete_corresponding_reg_eq_notes): ...here. Rename into... (remove_reg_equal_equiv_notes_for_defs): ...this. (delete_unmarked_insns): Adjust to above renaming. * ifcvt.c (dead_or_predicable): Remove REG_EQUAL and REG_EQUIV notes referring to registers set in the insns being moved, if any. * df-core.c (df_ref_dump): New function extracted from... (df_refs_chain_dump): ...here. Call it. (df_regs_chain_dump): Likewise. * df-problems.c (df_chain_dump): Print 'e' for uses in notes. * df-scan.c (df_scan_start_dump): Likewise. Fix long line. From-SVN: r166827 --- gcc/df-scan.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'gcc/df-scan.c') diff --git a/gcc/df-scan.c b/gcc/df-scan.c index 850f067..5cda897 100644 --- a/gcc/df-scan.c +++ b/gcc/df-scan.c @@ -445,7 +445,7 @@ df_scan_start_dump (FILE *file ATTRIBUTE_UNUSED) } if (DF_REG_EQ_USE_COUNT (i)) { - fprintf (file, "%s%dd", sep, DF_REG_EQ_USE_COUNT (i)); + fprintf (file, "%s%de", sep, DF_REG_EQ_USE_COUNT (i)); ecount += DF_REG_EQ_USE_COUNT (i); } fprintf (file, "} "); @@ -461,8 +461,10 @@ df_scan_start_dump (FILE *file ATTRIBUTE_UNUSED) icount++; } - fprintf (file, "\n;; total ref usage %d{%dd,%du,%de} in %d{%d regular + %d call} insns.\n", - dcount + ucount + ecount, dcount, ucount, ecount, icount + ccount, icount, ccount); + fprintf (file, "\n;; total ref usage %d{%dd,%du,%de}" + " in %d{%d regular + %d call} insns.\n", + dcount + ucount + ecount, dcount, ucount, ecount, + icount + ccount, icount, ccount); } /* Dump the bb_info for a given basic block. */ -- cgit v1.1