final.c (compute_alignments): New function.
authorJan Hubicka <jh@suse.cz>
Sun, 19 Aug 2001 23:46:10 +0000 (01:46 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Sun, 19 Aug 2001 23:46:10 +0000 (23:46 +0000)
commit247a370b4f2f91d4b82c66902d46649e57b1ec91
tree41105a8a5becd86725e0db5742de2ed66c51ad55
parent13fac94a68a4da815faa73d6a457c3d9d3bf94f5
final.c (compute_alignments): New function.

* final.c (compute_alignments): New function.
(init_insn_lengths): Do not care label_align.
(LABEL_ALIGN_AFTER_BARRIER): Default to 1.
(LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to 0.
(JUMP_ALIGN, JUMP_ALIGN_MAX_SKIP): New.
(shorted_branches): Realloc label_align array; do
not call init_insn_lengths; Do not care about loop alignments.
* output.h (compute_alignments): Declare.
* toplev.c (rest_of_compilation): Call compute_alignments.
* tm.texi (JUMP_ALIGN, JUMP_ALIGN_MAX_SKIP): Document.

* predict.c (block_info_def): Add npredecesors, remove nvisited;
change visited to tovisit.
(propagate_freq): Use faster traversing algorithm.
(estimate_loops_at_level, estimate_bb_frequencies): Change visited
to tovisit; reverse meaning.

* predict.c (struct block_info_def): Remove nvisited.
(propagate_freq): Use EDGE_DFS_BACK to detect irreducible regions.
(estimate_bb_frequencies): Call mark_dfs_back_edges.

From-SVN: r45042
gcc/ChangeLog
gcc/doc/tm.texi
gcc/final.c
gcc/output.h
gcc/predict.c
gcc/toplev.c