aboutsummaryrefslogtreecommitdiff
path: root/gcc/sched-deps.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2002-06-04 19:32:59 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2002-06-04 17:32:59 +0000
commit63f4a88e2873b14f843f02a0aeb4c8de73c51f57 (patch)
tree2c86c9a05e23b1ae6c7c454f4735a7512ecc5a18 /gcc/sched-deps.c
parenta5d1f75b65ba49002e3d84312c4b0120f84b4121 (diff)
downloadgcc-63f4a88e2873b14f843f02a0aeb4c8de73c51f57.zip
gcc-63f4a88e2873b14f843f02a0aeb4c8de73c51f57.tar.gz
gcc-63f4a88e2873b14f843f02a0aeb4c8de73c51f57.tar.bz2
Tue Jun 4 19:29:42 CEST 2002 Jan Hubicka <jh@suse.cz>
* cfglayout.c (duplicate_insn_chain): Kill NOTE_INSN_RANGE notes. * final.c (final_scan_insn): Likewise. * ggc-common.c (ggc_mark_rtx_children_1): Likewise; use NOTE_EXPECTED_VALUE instead of NOTE_RANGE. * haifa-sched.c (unlink_other_notes): Likeewise. (reemit_notes): Likewise. * print-rtl.c (print_rtx): Likewise. * sched-deps (sched-analyze): Likewise. * rtl.c (note_insn_name): Likewise. * rtl.h (NOTE_RANGE_INFO, NOTE_LIVE_INFO): Kill. (enum insn_note): Kill NOTE_INSN_RANGE_*, NOTE_INSN_LIVE. (RANGE_*): Kill. From-SVN: r54250
Diffstat (limited to 'gcc/sched-deps.c')
-rw-r--r--gcc/sched-deps.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/gcc/sched-deps.c b/gcc/sched-deps.c
index a81b400..268f58e 100644
--- a/gcc/sched-deps.c
+++ b/gcc/sched-deps.c
@@ -1315,17 +1315,7 @@ sched_analyze (deps, head, tail)
/* See comments on reemit_notes as to why we do this.
??? Actually, the reemit_notes just say what is done, not why. */
- else if (GET_CODE (insn) == NOTE
- && (NOTE_LINE_NUMBER (insn) == NOTE_INSN_RANGE_BEG
- || NOTE_LINE_NUMBER (insn) == NOTE_INSN_RANGE_END))
- {
- loop_notes = alloc_EXPR_LIST (REG_SAVE_NOTE, NOTE_RANGE_INFO (insn),
- loop_notes);
- loop_notes = alloc_EXPR_LIST (REG_SAVE_NOTE,
- GEN_INT (NOTE_LINE_NUMBER (insn)),
- loop_notes);
- }
- else if (GET_CODE (insn) == NOTE
+ if (GET_CODE (insn) == NOTE
&& (NOTE_LINE_NUMBER (insn) == NOTE_INSN_LOOP_BEG
|| NOTE_LINE_NUMBER (insn) == NOTE_INSN_LOOP_END
|| NOTE_LINE_NUMBER (insn) == NOTE_INSN_EH_REGION_BEG