aboutsummaryrefslogtreecommitdiff
path: root/gcc/cfglayout.c
diff options
context:
space:
mode:
authorZdenek Dvorak <dvorakz@suse.cz>2006-03-23 11:33:38 +0100
committerZdenek Dvorak <rakdver@gcc.gnu.org>2006-03-23 10:33:38 +0000
commit054a09fb260f5590f0349237662c4d6bcdaf0dd7 (patch)
treeb4875002f8168859c607632b90c826dc7f4b747a /gcc/cfglayout.c
parentc16ba1d5fea86df6f8d9e3d5d16c023dc65ce516 (diff)
downloadgcc-054a09fb260f5590f0349237662c4d6bcdaf0dd7.zip
gcc-054a09fb260f5590f0349237662c4d6bcdaf0dd7.tar.gz
gcc-054a09fb260f5590f0349237662c4d6bcdaf0dd7.tar.bz2
cfgloopmanip.c (create_loop_notes): Removed.
* cfgloopmanip.c (create_loop_notes): Removed. * final.c (final_scan_insn): Do not handle loop notes. * jump.c (squeeze_notes): Ditto. * cfglayout.c (skip_insns_after_block, duplicate_insn_chain): Ditto. * cfgcleanup.c (rest_of_handle_jump2): Do not call create_loop_notes. * cfgloop.h (create_loop_notes): Declaration removed. From-SVN: r112316
Diffstat (limited to 'gcc/cfglayout.c')
-rw-r--r--gcc/cfglayout.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/gcc/cfglayout.c b/gcc/cfglayout.c
index bcdeb96..f427a2b 100644
--- a/gcc/cfglayout.c
+++ b/gcc/cfglayout.c
@@ -99,7 +99,6 @@ skip_insns_after_block (basic_block bb)
case NOTE:
switch (NOTE_LINE_NUMBER (insn))
{
- case NOTE_INSN_LOOP_END:
case NOTE_INSN_BLOCK_END:
last_insn = insn;
continue;
@@ -135,12 +134,12 @@ skip_insns_after_block (basic_block bb)
/* It is possible to hit contradictory sequence. For instance:
jump_insn
- NOTE_INSN_LOOP_BEG
+ NOTE_INSN_BLOCK_BEG
barrier
Where barrier belongs to jump_insn, but the note does not. This can be
created by removing the basic block originally following
- NOTE_INSN_LOOP_BEG. In such case reorder the notes. */
+ NOTE_INSN_BLOCK_BEG. In such case reorder the notes. */
for (insn = last_insn; insn != BB_END (bb); insn = prev)
{
@@ -148,7 +147,6 @@ skip_insns_after_block (basic_block bb)
if (NOTE_P (insn))
switch (NOTE_LINE_NUMBER (insn))
{
- case NOTE_INSN_LOOP_END:
case NOTE_INSN_BLOCK_END:
case NOTE_INSN_DELETED:
case NOTE_INSN_DELETED_LABEL:
@@ -986,10 +984,6 @@ duplicate_insn_chain (rtx from, rtx to)
in first BB, we may want to copy the block. */
case NOTE_INSN_PROLOGUE_END:
- case NOTE_INSN_LOOP_BEG:
- case NOTE_INSN_LOOP_END:
- /* Strip down the loop notes - we don't really want to keep
- them consistent in loop copies. */
case NOTE_INSN_DELETED:
case NOTE_INSN_DELETED_LABEL:
/* No problem to strip these. */