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-flo ...
- From: amacleod at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: 18 Mar 2003 14:52:26 -0000
- Subject: gcc/gcc ChangeLog.tree-ssa tree-cfg.c tree-flo ...
CVSROOT: /cvs/gcc
Module name: gcc
Branch: tree-ssa-20020619-branch
Changes by: amacleod at gcc dot gnu dot org 2003-03-18 14:52:26
Modified files:
gcc : ChangeLog.tree-ssa tree-cfg.c
tree-flow-inline.h tree-flow.h
Log message:
* tree-cfg.c (make_blocks): Use append_stmt_to_bb. Check for NULL
tsi_stmt when deciding whether to start a new block.
(add_stmt_to_bb): Don't update the basic block end pointer.
(append_stmt_to_bb): New. Add stmt and update the BB end pointer.
(first_stmt): Use only 1 return.
(last_stmt): Modified to use bsi_last().
(last_stmt_ptr): Modified to use bsi_last().
(bsi_last): New. Return an iterator to the last stmt in a block.
(bsi_from_tsi): Fix bug which wouldn't set the context properly when
within a nested BIND_EXPR.
(bsi_update_from_tsi): Insert helper which is more efficient than
bsi_from_tsi().
(bsi_link_after): link in a new stmt and update the basic block
data structures.
(bsi_insert_after): Insert a new stmt into a block.
(bsi_insert_before): Insert a new stmt into a block.
(bsi_insert_on_edge): Insert a new stmt on an edge.
* tree-flow-inline.h (is_label_stmt): Return true if stmt can be a
target of a control transfer.
* tree-flow.h (is_label_stmt, bsi_last): New prototypes.
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.275&r2=1.1.2.276
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.61&r2=1.1.4.62
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-flow-inline.h.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.2.29&r2=1.1.2.30
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.62&r2=1.1.4.63