tree.h (struct tree_decl): Add gimple_formal_temp.
authorRichard Henderson <rth@redhat.com>
Wed, 18 Aug 2004 07:46:33 +0000 (00:46 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Wed, 18 Aug 2004 07:46:33 +0000 (00:46 -0700)
commit17ad5b5ec26d9c6d7edc84c89d69931552d138ff
tree699c6e9907b0c33f5cd057a408e8a232bd118ec9
parent5b0eba617b824ab3442bee5fc4f7c7d40d112aa6
tree.h (struct tree_decl): Add gimple_formal_temp.

        * tree.h (struct tree_decl): Add gimple_formal_temp.
        (DECL_GIMPLE_FORMAL_TEMP_P): New.
        * gimplify.c (pop_gimplify_context): Clear it.
        (lookup_tmp_var): Set it, if is_formal.
        (gimplify_init_constructor): Use rhs_predicate_for for COMPLEX.
        Use is_gimple_val for VECTOR.  Simplify return value.
        (gimplify_save_expr): Use and set DECL_GIMPLE_FORMAL_TEMP_P.
        (gimplify_expr): Likewise.
        * tree-gimple.c (is_gimple_formal_tmp_rhs): Rename from
        is_gimple_tmp_rhs for clarity.  Update all callers.
        (is_gimple_reg_rhs): Simplify logic.
        (is_gimple_formal_tmp_var): Rename from is_gimple_tmp_var for
        clarity; use DECL_GIMPLE_FORMAL_TEMP_P.
        (is_gimple_formal_tmp_reg): Similarly.
        * tree-gimple.h: Update decls.
        * tree-ssa-copyrename.c (copy_rename_partition_coalesce): Use
        DECL_IGNORED_P, not DECL_ARTIFICIAL.  Tidy formatting.
        * tree-ssa-live.c (var_union, type_var_init): Likewise.
java/
        * java-gimplify.c (java_gimplify_expr): Move '2' handling into
        default case.  Treat '<' similarly.  Update for
        is_gimple_formal_tmp_var name change.
testsuite/
        * gcc.dg/20040206-1.c: XFAIL.

From-SVN: r86176
gcc/ChangeLog
gcc/gimplify.c
gcc/java/ChangeLog
gcc/java/java-gimplify.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/20040206-1.c
gcc/tree-gimple.c
gcc/tree-gimple.h
gcc/tree-ssa-copyrename.c
gcc/tree-ssa-live.c
gcc/tree.h