This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r112252 - in /trunk/gcc: ChangeLog genautomata.c
- From: matz at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 21 Mar 2006 17:27:57 -0000
- Subject: r112252 - in /trunk/gcc: ChangeLog genautomata.c
Author: matz
Date: Tue Mar 21 17:27:56 2006
New Revision: 112252
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=112252
Log:
* genautomata.c (<struct state>, num_out_arcs, presence_signature):
New members.
(remove_arc, add_arc): Update num_out_arcs member.
(set_out_arc_insns_equiv_num): Returns nothing instead of number
of out arcs.
(cache_presence): New function.
(compare_states_for_equiv): New function.
(state_is_differed): Don't take number of outargs, adjust callers.
Use new invariant for speeding up.
(init_equiv_class): Create initial classes based on sorted
input.
(partition_equiv_class): Don't track out_arcs_num.
(evaluate_equiv_classes): Call cache_presence on all states and
sort them.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/genautomata.c