gcc/gcc ChangeLog.tree-ssa c-common.h c-semant ...
rth@gcc.gnu.org
rth@gcc.gnu.org
Wed Nov 12 02:51:00 GMT 2003
CVSROOT: /cvs/gcc
Module name: gcc
Branch: tree-ssa-20020619-branch
Changes by: rth@gcc.gnu.org 2003-11-12 02:51:24
Modified files:
gcc : ChangeLog.tree-ssa c-common.h c-semantics.c
c-simplify.c gimplify.c tree-simple.h
Log message:
* c-semantics.c (build_stmt): Set TREE_SIDE_EFFECTS.
* c-simplify.c (c_gimplify_stmt): Return a gimplify_status;
mind the status from subroutines to avoid re-gimplification.
(c_build_bind_expr): Do not call gimplify_stmt.
(gimplify_c_loop): Don't create a loop_expr; fully gimplify.
(gimplify_block, gimplify_cleanup, gimplify_expr_stmt,
gimplify_for_stmt, gimplify_while_stmt, gimplify_do_stmt,
gimplify_if_stmt, gimplify_switch_stmt, gimplify_return_stmt,
gimplify_decl_stmt, gimplify_compound_literal_expr,
gimplify_stmt_expr): Return a gimplify_status. In most cases,
don't do local gimplification of sub-structures.
(gimplify_decl_stmt): Use append_to_compound_expr when we care
about the result value.
(gimplify_stmt_expr): Use append_to_statement_list_force and
re-gimplify so that voidify_wrapper_expr can work.
(finish_bc_block): Don't append to a non-list.
(c_gimplify_expr): Pass back the gimplify_status of subroutines.
* c-common.h (c_gimplify_stmt): Update decl.
* gimplify.c (append_to_statement_list_1): Make sure list_p is
never null after call.
(append_to_compound_expr): New.
* tree-simple.h (append_to_compound_expr): Declare.
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.847&r2=1.1.2.848
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-common.h.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.141.2.37&r2=1.141.2.38
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-semantics.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.43.2.25&r2=1.43.2.26
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-simplify.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.4.80&r2=1.1.4.81
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.109&r2=1.1.2.110
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-simple.h.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.4.38&r2=1.1.4.39
More information about the Gcc-cvs
mailing list