From c8f5fc7032940ad6633f932ac40cade82ec4d0cc Mon Sep 17 00:00:00 2001 From: obrien Date: Thu, 9 May 2002 20:02:13 +0000 Subject: Gcc 3.1.0 pre-release from the FSF anoncvs repo on 9-May-2002 15:57:15 EDT. --- contrib/gcc/bb-reorder.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'contrib/gcc/bb-reorder.c') diff --git a/contrib/gcc/bb-reorder.c b/contrib/gcc/bb-reorder.c index 97ad142..2578604 100644 --- a/contrib/gcc/bb-reorder.c +++ b/contrib/gcc/bb-reorder.c @@ -1,5 +1,5 @@ /* Basic block reordering routines for the GNU compiler. - Copyright (C) 2000 Free Software Foundation, Inc. + Copyright (C) 2000, 2002 Free Software Foundation, Inc. This file is part of GCC. @@ -89,6 +89,7 @@ #include "flags.h" #include "output.h" #include "cfglayout.h" +#include "target.h" /* Local function prototypes. */ static void make_reorder_chain PARAMS ((void)); @@ -260,6 +261,9 @@ reorder_basic_blocks () if (n_basic_blocks <= 1) return; + if ((* targetm.cannot_modify_jumps_p) ()) + return; + cfg_layout_initialize (); make_reorder_chain (); -- cgit v1.1