This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
gcc/gcc ChangeLog.tree-ssa flags.h toplev.c tr ...
- From: dnovillo at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: 11 Jun 2003 01:22:26 -0000
- Subject: gcc/gcc ChangeLog.tree-ssa flags.h toplev.c tr ...
CVSROOT: /cvs/gcc
Module name: gcc
Branch: tree-ssa-20020619-branch
Changes by: dnovillo@gcc.gnu.org 2003-06-11 01:22:26
Modified files:
gcc : ChangeLog.tree-ssa flags.h toplev.c tree-ssa.c
Log message:
2003-06-10 Diego Novillo <dnovillo@redhat.com>
* toplev.c (flag_tree_dom): New variable.
(f_options): Add new entry for -ftree-dominator-opts.
(parse_options_and_default_flags): Enable flag_tree_dom for
-O1 and higher. At -O2 and higher, disable flag_tree_dom is
SSA-PRE is also specified.
* flags.h (flag_tree_dom): Declare.
* doc/invoke.texi: Document -ftree-dominator-opts.
* tree-ssa.c (rewrite_block): Disable tracking of available
expressions when not doing dominator optimizations.
Call rewrite_stmt when not doing dominator optimizations.
Otherwise, call rewrite_and_optimize_stmt.
(rewrite_stmt): Don't optimize the statement. Just rename.
(rewrite_and_optimize_stmt): Optimize the statement while rewriting
its operands.
(lookup_avail_expr): Update comments.
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.410&r2=1.1.2.411
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.26&r2=1.86.2.27
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.54&r2=1.654.2.55
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-ssa.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.4.88&r2=1.1.4.89