From 3d4ce12a5acd0210b6c90b3dd8a7c5033be19562 Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Fri, 3 May 2002 23:02:44 +0200 Subject: [PATCH] cfgcleanup.c (try_optimize_cfg): Call merge_block only when jump is simplejump. * cfgcleanup.c (try_optimize_cfg): Call merge_block only when jump is simplejump. From-SVN: r53129 --- gcc/ChangeLog | 7 ++++++- gcc/cfgcleanup.c | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fc2ad3e1591..fd56efb307e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,4 +1,9 @@ -Fri May 3 22:53:37 CEST 2002 Jan Hubicka +Fri May 3 22:59:15 CEST 2002 Jan Hubicka + + * cfgcleanup.c (try_optimize_cfg): Call merge_block only when + jump is simplejump. + +Fri May 3 22:53:37 CEST 2002 Jan Hubicka * i386.c (expand_movstr, expand_clrstr): Fix inline-all-stringops sequence. diff --git a/gcc/cfgcleanup.c b/gcc/cfgcleanup.c index 892478111f6..bff7623c7e6 100644 --- a/gcc/cfgcleanup.c +++ b/gcc/cfgcleanup.c @@ -1684,7 +1684,7 @@ try_optimize_cfg (mode) /* If the jump insn has side effects, we can't kill the edge. */ && (GET_CODE (b->end) != JUMP_INSN - || onlyjump_p (b->end)) + || simplejump_p (b->end)) && merge_blocks (s, b, c, mode)) changed_here = true; -- 2.30.2