summaryrefslogtreecommitdiffstats
path: root/contrib/gcc/bb-reorder.c
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-05-09 20:02:13 +0000
committerobrien <obrien@FreeBSD.org>2002-05-09 20:02:13 +0000
commitc8f5fc7032940ad6633f932ac40cade82ec4d0cc (patch)
tree29a0f0a6c79a69ecc64f612947a0fe5904311713 /contrib/gcc/bb-reorder.c
parentc9ab9ae440a8066b2c2b85b157b1fdadcf09916a (diff)
downloadFreeBSD-src-c8f5fc7032940ad6633f932ac40cade82ec4d0cc.zip
FreeBSD-src-c8f5fc7032940ad6633f932ac40cade82ec4d0cc.tar.gz
Gcc 3.1.0 pre-release from the FSF anoncvs repo on 9-May-2002 15:57:15 EDT.
Diffstat (limited to 'contrib/gcc/bb-reorder.c')
-rw-r--r--contrib/gcc/bb-reorder.c6
1 files changed, 5 insertions, 1 deletions
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 ();
OpenPOWER on IntegriCloud