aboutsummaryrefslogtreecommitdiff
path: root/gcc/jump.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@cygnus.com>1999-10-29 14:45:05 -0700
committerRichard Henderson <rth@gcc.gnu.org>1999-10-29 14:45:05 -0700
commit3071fab5054b156e506212b86c62d614bd10e284 (patch)
tree694b8a79795d85b96e8abf582b97facd64974497 /gcc/jump.c
parented598dde43da766e72a6abf0f2b4622392b0fecd (diff)
downloadgcc-3071fab5054b156e506212b86c62d614bd10e284.zip
gcc-3071fab5054b156e506212b86c62d614bd10e284.tar.gz
gcc-3071fab5054b156e506212b86c62d614bd10e284.tar.bz2
flow.c (count_or_remove_death_notes): Equate NULL with the universal set.
* flow.c (count_or_remove_death_notes): Equate NULL with the universal set. * jump.c, reg-stack.c, toplev.c: Revert Oct 27 change. * toplev.c (rest_of_compilation): Rebuild CFG immediately before dbr_schedule. * i386.c (pic_label_no): Delete. (ix86_attr_length_default): Don't use single_set to peek inside a parallel. * recog.c (peephole2_optimize): Allow recog_next_insn to index the first insn after bb->end. * i386.md (push mem peeps): Scratch is live after evaluation of the memory. (cmp mem peep): Similarly. From-SVN: r30269
Diffstat (limited to 'gcc/jump.c')
-rw-r--r--gcc/jump.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/gcc/jump.c b/gcc/jump.c
index 8170930..72a1358 100644
--- a/gcc/jump.c
+++ b/gcc/jump.c
@@ -66,8 +66,6 @@ Boston, MA 02111-1307, USA. */
#include "expr.h"
#include "real.h"
#include "except.h"
-#include "basic-block.h"
-#include "output.h"
#include "toplev.h"
/* ??? Eventually must record somehow the labels used by jumps
@@ -192,7 +190,6 @@ jump_optimize_1 (f, cross_jump, noop_moves, after_regscan, mark_labels_only)
int first = 1;
int max_uid = 0;
rtx last_insn;
- int did_cross_jump = 0;
cross_jump_death_matters = (cross_jump == 2);
max_uid = init_label_info (f) + 1;
@@ -2130,7 +2127,6 @@ jump_optimize_1 (f, cross_jump, noop_moves, after_regscan, mark_labels_only)
if (newjpos != 0)
{
- did_cross_jump = 1;
do_cross_jump (insn, newjpos, newlpos);
/* Make the old conditional jump
into an unconditional one. */
@@ -2183,7 +2179,6 @@ jump_optimize_1 (f, cross_jump, noop_moves, after_regscan, mark_labels_only)
if (newjpos != 0)
{
- did_cross_jump = 1;
do_cross_jump (insn, newjpos, newlpos);
changed = 1;
next = insn;
@@ -2215,7 +2210,6 @@ jump_optimize_1 (f, cross_jump, noop_moves, after_regscan, mark_labels_only)
if (newjpos != 0)
{
- did_cross_jump = 1;
do_cross_jump (insn, newjpos, newlpos);
changed = 1;
next = insn;
@@ -2280,23 +2274,6 @@ jump_optimize_1 (f, cross_jump, noop_moves, after_regscan, mark_labels_only)
/* Show JUMP_CHAIN no longer valid. */
jump_chain = 0;
-
-#if defined(DELAY_SLOTS) || defined(STACK_REGS)
- /* ??? Keep the CFG up to date after cross-jumping. */
- if (did_cross_jump && !cross_jump_death_matters)
- {
- sbitmap blocks;
-
- find_basic_blocks (f, old_max_reg, NULL, 0);
-
- blocks = sbitmap_alloc (n_basic_blocks);
- sbitmap_ones (blocks);
- count_or_remove_death_notes (blocks, 1);
- sbitmap_free (blocks);
-
- life_analysis (f, old_max_reg, NULL, 0);
- }
-#endif
}
/* Initialize LABEL_NUSES and JUMP_LABEL fields. Delete any REG_LABEL