aboutsummaryrefslogtreecommitdiff
path: root/gcc/basic-block.h
diff options
context:
space:
mode:
authorZdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>2003-07-19 00:52:05 +0200
committerZdenek Dvorak <rakdver@gcc.gnu.org>2003-07-18 22:52:05 +0000
commit65f43cdfee83049bc0008c71b182e813c4c86306 (patch)
tree97345dfea977f820d999cfa91b9565f89057e6f7 /gcc/basic-block.h
parente5686da761327b52e4dbad5b6d1fcb2debded878 (diff)
downloadgcc-65f43cdfee83049bc0008c71b182e813c4c86306.zip
gcc-65f43cdfee83049bc0008c71b182e813c4c86306.tar.gz
gcc-65f43cdfee83049bc0008c71b182e813c4c86306.tar.bz2
Makefile.in (ifcvt.o): Add cfgloop.h.
* Makefile.in (ifcvt.o): Add cfgloop.h. * basic-block.h (EDGE_LOOP_EXIT): New flag. * cfgrtl.c (rtl_verify_flow_info_1): Handle it correctly. * ifcvt.c: Include cfgloop.h. (mark_loop_exit_edges): New static function. (if_convert): Call it. (find_if_header): Ignore branches out of loops. From-SVN: r69572
Diffstat (limited to 'gcc/basic-block.h')
-rw-r--r--gcc/basic-block.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/basic-block.h b/gcc/basic-block.h
index 0558fe8..221b246 100644
--- a/gcc/basic-block.h
+++ b/gcc/basic-block.h
@@ -152,7 +152,8 @@ typedef struct edge_def {
flow. */
#define EDGE_IRREDUCIBLE_LOOP 128 /* Part of irreducible loop. */
#define EDGE_SIBCALL 256 /* Edge from sibcall to exit. */
-#define EDGE_ALL_FLAGS 511
+#define EDGE_LOOP_EXIT 512 /* Exit of a loop. */
+#define EDGE_ALL_FLAGS 1023
#define EDGE_COMPLEX (EDGE_ABNORMAL | EDGE_ABNORMAL_CALL | EDGE_EH)