gcc/gcc ChangeLog Makefile.in c-decl.c c-lang. ...
dnovillo@gcc.gnu.org
dnovillo@gcc.gnu.org
Wed Jun 5 20:52:00 GMT 2002
CVSROOT: /cvs/gcc
Module name: gcc
Branch: ast-optimizer-branch
Changes by: dnovillo@gcc.gnu.org 2002-06-05 20:52:21
Modified files:
gcc : ChangeLog Makefile.in c-decl.c c-lang.c
c-simplify.c c-tree.h langhooks-def.h
langhooks.c langhooks.h toplev.c tree-cfg.c
tree-optimize.c tree-optimize.h tree-simple.c
tree-ssa.c
gcc/testsuite/lib: c-torture.exp
Log message:
* Makefile.in (BOOT_CFLAGS): Remove -ftree-ssa.
* c-decl.c (c_expand_body): Call optimize_function_tree if tree SSA
is enabled.
* c-lang.c (LANG_HOOKS_SIMPLIFY_FUNCTION_TREE): Define.
* c-simplify.c (simplify_tree): Rename to c_simplify_function_tree.
Update all callers.
Dump function body before and after simplification if
-fdump-tree-simple is used.
(simplify_expr): Document FIXME for simplification of BIT_FIELD_REF
nodes.
* c-tree.h (simplify_tree): Rename to c_simplify_function_tree.
* langhooks-def.h (LANG_HOOKS_SIMPLIFY_FUNCTION_TREE): Define
(LANGHOOKS_INITIALIZER): Add LANG_HOOKS_SIMPLIFY_FUNCTION_TREE.
(lhd_simplify_function_tree): Declare.
* langhooks.c (lhd_simplify_function_tree): New function.
* langhooks.h (lang_hooks): Add simplify_function_tree function
pointer.
* toplev.c (parse_options_and_default_flags): Set flag_tree_ssa to
1 at optimization levels >= 1.
Revert to default warning when -Wuninitialized is used without -O.
* tree-cfg.c (tree_find_basic_blocks): Rename argument 't' to
'fnbody'.
* tree-optimize.c: Include langhooks.h.
(optimize_tree): Rename to optimize_function_tree. Update all
users.
Rename argument 't' to 'fndecl'.
Call simplify langhook before building SSA.
(build_tree_ssa): Rename argument 't' to 'fndecl'.
Adjust call to tree_find_basic_blocks to pass body of the function.
* tree-optimize.h (optimize_tree): Rename to
optimize_function_tree.
* tree-simple.c (is_simple_unary_expr): Document FIXME on
BIT_FIELD_REF nodes.
* tree-ssa.c: Add whitespace.
* testsuite/lib/c-torture.exp: Remove -ftree-ssa flag.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=ast-optimizer-branch&r1=1.10739.2.65&r2=1.10739.2.66
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/Makefile.in.diff?cvsroot=gcc&only_with_tag=ast-optimizer-branch&r1=1.701.2.30&r2=1.701.2.31
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-decl.c.diff?cvsroot=gcc&only_with_tag=ast-optimizer-branch&r1=1.239.2.20&r2=1.239.2.21
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-lang.c.diff?cvsroot=gcc&only_with_tag=ast-optimizer-branch&r1=1.53.2.7&r2=1.53.2.8
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-simplify.c.diff?cvsroot=gcc&only_with_tag=ast-optimizer-branch&r1=1.1.2.19&r2=1.1.2.20
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-tree.h.diff?cvsroot=gcc&only_with_tag=ast-optimizer-branch&r1=1.64.2.11&r2=1.64.2.12
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/langhooks-def.h.diff?cvsroot=gcc&only_with_tag=ast-optimizer-branch&r1=1.8.2.5&r2=1.8.2.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/langhooks.c.diff?cvsroot=gcc&only_with_tag=ast-optimizer-branch&r1=1.14.2.5&r2=1.14.2.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/langhooks.h.diff?cvsroot=gcc&only_with_tag=ast-optimizer-branch&r1=1.15.2.6&r2=1.15.2.7
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/toplev.c.diff?cvsroot=gcc&only_with_tag=ast-optimizer-branch&r1=1.494.2.15&r2=1.494.2.16
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-cfg.c.diff?cvsroot=gcc&only_with_tag=ast-optimizer-branch&r1=1.1.2.18&r2=1.1.2.19
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-optimize.c.diff?cvsroot=gcc&only_with_tag=ast-optimizer-branch&r1=1.1.2.8&r2=1.1.2.9
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-optimize.h.diff?cvsroot=gcc&only_with_tag=ast-optimizer-branch&r1=1.1.2.2&r2=1.1.2.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-simple.c.diff?cvsroot=gcc&only_with_tag=ast-optimizer-branch&r1=1.1.2.10&r2=1.1.2.11
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-ssa.c.diff?cvsroot=gcc&only_with_tag=ast-optimizer-branch&r1=1.1.2.14&r2=1.1.2.15
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/lib/c-torture.exp.diff?cvsroot=gcc&only_with_tag=ast-optimizer-branch&r1=1.16.10.2&r2=1.16.10.3
More information about the Gcc-cvs
mailing list