diff options
author | echristo <echristo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-01-03 09:18:22 +0000 |
---|---|---|
committer | echristo <echristo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-01-03 09:18:22 +0000 |
commit | ed1e5d409737c9503e0e2cb9c51ea2f4a69c8ad0 (patch) | |
tree | 68b53daa1d85b745a1161f3739cf696cc0a89478 /gcc/reorg.c | |
parent | e306f5838f1eb69beba5197a30aea0fb17f63599 (diff) | |
download | gcc-ed1e5d409737c9503e0e2cb9c51ea2f4a69c8ad0.tar.gz |
2002-01-02 Eric Christopher <echristo@redhat.com>
* final.c (final_scan_insn): Change 0 -> NULL_RTX in
FIND_REG_INC_NOTE call. Update copyright.
* loop.c (canonicalize_condition): Ditto.
* reorg.c (delete_scheduled_jump): Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48506 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/reorg.c')
-rw-r--r-- | gcc/reorg.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/reorg.c b/gcc/reorg.c index 5132aef73c7..409ed7d66ea 100644 --- a/gcc/reorg.c +++ b/gcc/reorg.c @@ -1,6 +1,6 @@ /* Perform instruction reorganizations for delay slot filling. Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, - 1999, 2000 Free Software Foundation, Inc. + 1999, 2000, 2001, 2002 Free Software Foundation, Inc. Contributed by Richard Kenner (kenner@vlsi1.ultra.nyu.edu). Hacked by Michael Tiemann (tiemann@cygnus.com). @@ -648,7 +648,7 @@ delete_scheduled_jump (insn) if (GET_CODE (trial) == NOTE) trial = prev_nonnote_insn (trial); if (sets_cc0_p (PATTERN (trial)) != 1 - || FIND_REG_INC_NOTE (trial, 0)) + || FIND_REG_INC_NOTE (trial, NULL_RTX)) return; if (PREV_INSN (NEXT_INSN (trial)) == trial) delete_related_insns (trial); @@ -2239,11 +2239,11 @@ fill_simple_delay_slots (non_jumps_p) int i = 2; - try { + try { f(); i = 3; } catch (...) {} - + return i; Even though `i' is a local variable, we must be sure not |