From eae4bc56ee765027101b05a66c3c79439c34b7b9 Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Sun, 2 Jun 2002 19:18:58 +0200 Subject: [PATCH] cfgrtl.c (commit_one_edge_insertion): Fix warning. * cfgrtl.c (commit_one_edge_insertion): Fix warning. * gcse.c (bypass_conditional_jumps): CSE out single_set call. From-SVN: r54175 --- gcc/ChangeLog | 5 +++++ gcc/cfgrtl.c | 2 +- gcc/gcse.c | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 911337b3da9..471e4caa970 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Sun Jun 2 19:15:27 CEST 2002 Jan Hubicka + + * cfgrtl.c (commit_one_edge_insertion): Fix warning. + * gcse.c (bypass_conditional_jumps): CSE out single_set call. + 2002-06-02 Neil Booth * d30v.h (CPP_PREDEFINES): Replace with diff --git a/gcc/cfgrtl.c b/gcc/cfgrtl.c index 4509fa49de7..f721b12f916 100644 --- a/gcc/cfgrtl.c +++ b/gcc/cfgrtl.c @@ -1352,7 +1352,7 @@ commit_one_edge_insertion (e, watch_calls) int watch_calls; { rtx before = NULL_RTX, after = NULL_RTX, insns, tmp, last; - basic_block bb; + basic_block bb = NULL; /* Pull the insns off the edge now since the edge might go away. */ insns = e->insns; diff --git a/gcc/gcse.c b/gcc/gcse.c index a2c14a04205..01d57efa903 100644 --- a/gcc/gcse.c +++ b/gcc/gcse.c @@ -4544,7 +4544,7 @@ bypass_conditional_jumps () rtx set = single_set (insn); if (setcc) break; - if (!single_set (insn)) + if (!set) break; dest = SET_DEST (set); -- 2.30.2