diff options
author | Jeff Law <law@gcc.gnu.org> | 1998-11-04 13:45:03 -0700 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1998-11-04 13:45:03 -0700 |
commit | 56744d1a2a2177f56136b2fb1a8aaf4f51612d69 (patch) | |
tree | 99b65f85724b6dced77997d0b7f4beb37c8a2e7a | |
parent | 0ea0e8717d8def2eea263fce29e17122b36710dc (diff) | |
download | gcc-56744d1a2a2177f56136b2fb1a8aaf4f51612d69.zip gcc-56744d1a2a2177f56136b2fb1a8aaf4f51612d69.tar.gz gcc-56744d1a2a2177f56136b2fb1a8aaf4f51612d69.tar.bz2 |
rtl.h (flow2_completed): Declare.
x
* rtl.h (flow2_completed): Declare.
* flow.c (flow2_completed): Definition.
* toplev.c (rest_of_compilation): Set and clear flow2_completed
as necessary.
From-SVN: r23528
-rw-r--r-- | gcc/flow.c | 3 | ||||
-rw-r--r-- | gcc/toplev.c | 3 |
2 files changed, 6 insertions, 0 deletions
@@ -161,6 +161,9 @@ int *uid_block_number; #define INSN_VOLATILE(INSN) uid_volatile[INSN_UID (INSN)] static char *uid_volatile; +/* Nonzero if the second flow pass has completed. */ +int flow2_completed; + /* Number of basic blocks in the current function. */ int n_basic_blocks; diff --git a/gcc/toplev.c b/gcc/toplev.c index 50ecb4a..c17be4d 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -3803,6 +3803,8 @@ rest_of_compilation (decl) life_analysis (insns, max_reg_num (), rtl_dump_file); }); + flow2_completed = 1; + /* On some machines, the prologue and epilogue code, or parts thereof, can be represented as RTL. Doing so lets us schedule insns between it and the rest of the code and also allows delayed branch @@ -3972,6 +3974,7 @@ rest_of_compilation (decl) } reload_completed = 0; + flow2_completed = 0; TIMEVAR (final_time, { |