gimplify.c (gimplify_expr): Don't replace with DECL_INITIAL if fb_lvalue.
authorRichard Henderson <rth@redhat.com>
Fri, 30 Jul 2004 22:55:30 +0000 (15:55 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Fri, 30 Jul 2004 22:55:30 +0000 (15:55 -0700)
commit0534fa565255cf56d5771ea92522403947d4bbd4
treeb8e5fa782f1cf0143b461a419b9a4855d6b9c559
parent782700d4f2d37e2ee883594032d6748aef983165
gimplify.c (gimplify_expr): Don't replace with DECL_INITIAL if fb_lvalue.

        * gimplify.c (gimplify_expr) <case CONST_DECL>: Don't replace
        with DECL_INITIAL if fb_lvalue.
        * tree-gimple.c (is_gimple_id): Add CONST_DECL.
        * tree-pretty-print.c (dump_decl_name): Dump unnamed CONST_DECL
        with <Cxxx>.
        * tree-ssa-ccp.c (maybe_fold_stmt_indirect): Fold CONST_DECL.
fortran/
        * trans-expr.c (gfc_conv_expr_reference): Create a CONST_DECL
        for TREE_CONSTANTs.
testsuite/
        * gfortran.fortran-torture/execute/intrinsic_rrspacing.f90: Fix
        write to constant argument.
        * gfortran.fortran-torture/execute/intrinsic_scale.f90: Likewise.

From-SVN: r85365
gcc/ChangeLog
gcc/fortran/ChangeLog
gcc/fortran/trans-expr.c
gcc/gimplify.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.fortran-torture/execute/intrinsic_rrspacing.f90
gcc/testsuite/gfortran.fortran-torture/execute/intrinsic_scale.f90
gcc/tree-gimple.c
gcc/tree-pretty-print.c
gcc/tree-ssa-ccp.c