summaryrefslogtreecommitdiff
path: root/gcc/function.h
diff options
context:
space:
mode:
authorsteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>2005-02-20 11:09:16 +0000
committersteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>2005-02-20 11:09:16 +0000
commitb811afb0df17c2de8ea2ea78c002e48f4606d6dd (patch)
tree90c7593e6e12d11084f0ca47062016f232b3612f /gcc/function.h
parent102b6538abc58c07877d2b9477268df4f72ca9eb (diff)
downloadgcc-b811afb0df17c2de8ea2ea78c002e48f4606d6dd.tar.gz
PR middle-end/19698
* function.h (struct function): New field `max_loop_depth'. * cfgloop.c (establish_preds): Update maximum loop depth seen so far. (flow_loops_find): Reset the max loop depth count before finding loops. * flow.c (MAX_LIVENESS_ROUNDS): New constant. (update_life_info_in_dirty_blocks): Remove 2002-05-28 workaround. (calculate_global_regs_live): Make sure the loop will terminate when the initial sets are not empty. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95299 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/function.h')
-rw-r--r--gcc/function.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/function.h b/gcc/function.h
index f760075c638..ef0f55a4c38 100644
--- a/gcc/function.h
+++ b/gcc/function.h
@@ -284,12 +284,20 @@ struct function GTY(())
int no_debugging_symbols;
rtvec original_arg_vector;
tree original_decl_initial;
+
/* Highest label number in current function. */
int inl_max_label_num;
/* Function sequence number for profiling, debugging, etc. */
int funcdef_no;
+ /* For flow.c. */
+
+ /* Highest loop depth seen so far in loop analysis. Used in flow.c
+ for the "failure strategy" when doing liveness analysis starting
+ with non-empty initial sets. */
+ int max_loop_depth;
+
/* For md files. */
/* tm.h can use this to store whatever it likes. */