This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
gcc/gcc ChangeLog.tree-ssa tree-cfg.c tree-flow.h
- From: dnovillo at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: 4 Feb 2003 06:38:58 -0000
- Subject: gcc/gcc ChangeLog.tree-ssa tree-cfg.c tree-flow.h
CVSROOT: /cvs/gcc
Module name: gcc
Branch: tree-ssa-20020619-branch
Changes by: dnovillo@gcc.gnu.org 2003-02-04 06:38:58
Modified files:
gcc : ChangeLog.tree-ssa tree-cfg.c tree-flow.h
Log message:
* tree-cfg.c (make_blocks): Don't always start a new block with
COND_EXPR and SWITCH_EXPR statements.
Call stmt_ends_bb_p to determine if the current statement should be
the last in the block.
(make_cond_expr_blocks): Second argument is now the entry block
to the conditional.
(make_switch_expr_blocks): Second argument is now the entry block
to the switch.
(make_edges, make_ctrl_stmt_edges, make_loop_expr_edges,
cleanup_control_flow, cleanup_cond_expr_graph,
cleanup_switch_expr_graph, disconnect_unreachable_case_labels,
find_taken_edge, successor_block, latch_block, is_latch_block,
switch_parent): Work with the last statement of the block, not the
first.
(is_ctrl_altering_stmt): Pre-compute the code of the statement.
(stmt_starts_bb_p): Declare file local.
Don't call is_ctrl_stmt. Check if T is a LOOP_EXPR instead.
(stmt_ends_bb_p): New function.
* tree-flow.h (stmt_starts_bb_p): Remove declaration.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.tree-ssa.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.2.213&r2=1.1.2.214
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-cfg.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.4.53&r2=1.1.4.54
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-flow.h.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.4.50&r2=1.1.4.51