gcc/gcc ChangeLog.tree-ssa Makefile.in common. ...
dnovillo@gcc.gnu.org
dnovillo@gcc.gnu.org
Thu Nov 20 20:54:00 GMT 2003
CVSROOT: /cvs/gcc
Module name: gcc
Branch: tree-ssa-20020619-branch
Changes by: dnovillo@gcc.gnu.org 2003-11-20 20:54:41
Modified files:
gcc : ChangeLog.tree-ssa Makefile.in common.opt
flags.h gimplify.c opts.c timevar.def toplev.c
tree-cfg.c tree-dump.c tree-eh.c tree-flow.h
tree-optimize.c tree-ssa-ccp.c tree-ssa-dom.c
tree.h
gcc/doc : invoke.texi
Added files:
gcc : tree-sra.c
Log message:
Initial fix for PR optimization/12747
* Makefile.in (OBJS): Add tree-sra.o
* common.opt (ftree-sra): Add.
* flags.h (flag_tree_sra): Declare.
* gimplify.c (gimplify_addr_expr): Set TREE_INVARIANT
when producing and address expression for a DECL node.
* opts.c (decode_options): Enable SRA at -O1.
(common_handle_option): Handle -ftree-sra.
* timevar.def (TV_TREE_SRA): New timer.
* toplev.c (flag_tree_sra): Define.
* tree-cfg.c (stmt_ends_bb_p): Declare extern.
(bsi_replace): Add boolean argument to specify whether to
preserve EH region information. Update all callers.
(bsi_commit_edge_inserts): Also check the edge from ENTRY_BLOCK_PTR
to basic block 0.
Move loop body ...
(bsi_commit_edge_inserts_1): ... here.
* tree-dump.c: Add dump for SRA pass.
* tree.h (enum tree_dump_index): Modify accordingly.
(STRIP_USELESS_TYPE_CONVERSION): Define. Update all callers to
tree_ssa_useless_type_conversion.
* tree-eh.c (add_stmt_to_eh_region): New function.
* tree-flow.h (stmt_ends_bb_p): Declare.
(add_stmt_to_eh_region): Declare.
(tree_sra): Declare.
(enum bsi_iterator_update): Mirror entries in
enum tsi_iterator_update.
* tree-optimize.c (optimize_function_tree): Call SRA pass
after must-alias.
* tree-sra.c: New file.
* doc/invoke.texi: Document -ftree-sra and -fdump-tree-sra.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-sra.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=NONE&r2=1.1.2.1
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.897&r2=1.1.2.898
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/Makefile.in.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.903.2.135&r2=1.903.2.136
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/common.opt.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.14.2.10&r2=1.14.2.11
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/flags.h.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.86.2.39&r2=1.86.2.40
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/gimplify.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.2.119&r2=1.1.2.120
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/opts.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.31.2.18&r2=1.31.2.19
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/timevar.def.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.14.2.22&r2=1.14.2.23
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/toplev.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.654.2.78&r2=1.654.2.79
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.220&r2=1.1.4.221
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-dump.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.6.2.54&r2=1.6.2.55
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-eh.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.2.16&r2=1.1.2.17
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.157&r2=1.1.4.158
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-optimize.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.4.76&r2=1.1.4.77
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-ssa-ccp.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.2.114&r2=1.1.2.115
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-ssa-dom.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.2.82&r2=1.1.2.83
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree.h.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.342.2.134&r2=1.342.2.135
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/doc/invoke.texi.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.152.2.59&r2=1.152.2.60
More information about the Gcc-cvs
mailing list