diff options
author | obrien <obrien@FreeBSD.org> | 2002-05-09 20:02:13 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2002-05-09 20:02:13 +0000 |
commit | c8f5fc7032940ad6633f932ac40cade82ec4d0cc (patch) | |
tree | 29a0f0a6c79a69ecc64f612947a0fe5904311713 /contrib/gcc/bb-reorder.c | |
parent | c9ab9ae440a8066b2c2b85b157b1fdadcf09916a (diff) | |
download | FreeBSD-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.c | 6 |
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 (); |