From bc20fdd7b182fd142c12b068a45cdfdf658c0c6c Mon Sep 17 00:00:00 2001 From: aoliva Date: Tue, 2 Jun 2009 08:08:13 +0000 Subject: [PATCH] * combine.c (move_deaths): Compare LUIDs within the same BB only. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148075 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 4 ++++ gcc/combine.c | 1 + 2 files changed, 5 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c84f1a6a434..9992c733fde 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 2009-06-02 Alexandre Oliva + * combine.c (move_deaths): Compare LUIDs within the same BB only. + +2009-06-02 Alexandre Oliva + * common.opt (fdump-unnumbered-links): New. * doc/invoke.texi (-fdump-unnumbered-links): Document it. * print-rtl.c (flag_dump_unnumbered_links): New. diff --git a/gcc/combine.c b/gcc/combine.c index 7cdf396a66c..0f8b0874143 100644 --- a/gcc/combine.c +++ b/gcc/combine.c @@ -12144,6 +12144,7 @@ move_deaths (rtx x, rtx maybe_kill_insn, int from_luid, rtx to_insn, return; if (where_dead + && BLOCK_FOR_INSN (where_dead) == BLOCK_FOR_INSN (to_insn) && DF_INSN_LUID (where_dead) >= from_luid && DF_INSN_LUID (where_dead) < DF_INSN_LUID (to_insn)) { -- 2.11.0