diff options
author | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-01-23 15:15:42 +0000 |
---|---|---|
committer | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-01-23 15:15:42 +0000 |
commit | c966a2e26443d130bc0826ff41bb220ed16526c6 (patch) | |
tree | 3a326a29186290c79c728ba36294ed50b2517f08 /gcc/genattrtab.c | |
parent | e7827cef5911ce70e4a4439fe39019ed218f7183 (diff) | |
download | gcc-c966a2e26443d130bc0826ff41bb220ed16526c6.tar.gz |
r110126@banpei: zack | 2006-01-22 14:47:42 -0800
* genautomata.c (process_state_longest_path, max_dfa_issue_rate)
(output_dfa_max_issue_rate, locked_states_num): Delete.
(struct automaton): Add locked_states field.
(output_dead_lock_vect): Save number of locked states in
automaton->locked_states. If it is zero, don't print anything.
(output_max_insn_queue_index_def): Define max_insn_queue_index const.
(output_internal_dead_lock_func): Only test the dead_lock_vect
for automata that have locked states.
(output_statistics): Always print the number of locked states for
each automaton. Calculate total number of locked states here.
(write_automata): Don't call output_dfa_max_issue_rate.
* genattrtab.c: Define length_unit_log as a const variable.
* genattr.c: Don't emit MAX_DFA_ISSUE_RATE. Declare
max_insn_queue_index const.
* final.c (length_unit_log): Declare const.
* doc/tm.texi: Remove all references to MAX_DFA_ISSUE_RATE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110122 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/genattrtab.c')
-rw-r--r-- | gcc/genattrtab.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/genattrtab.c b/gcc/genattrtab.c index 41dda6bb5da..287c69b4631 100644 --- a/gcc/genattrtab.c +++ b/gcc/genattrtab.c @@ -1690,7 +1690,7 @@ write_length_unit_log (void) for (length_unit_log = 0; length_or & 1; length_or >>= 1) length_unit_log++; } - printf ("int length_unit_log = %u;\n", length_unit_log); + printf ("const int length_unit_log = %u;\n", length_unit_log); } /* Take a COND expression and see if any of the conditions in it can be |