From c966a2e26443d130bc0826ff41bb220ed16526c6 Mon Sep 17 00:00:00 2001 From: zack Date: Mon, 23 Jan 2006 15:15:42 +0000 Subject: 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 --- gcc/genattrtab.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/genattrtab.c') 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 -- cgit v1.2.1