gimple-low.c (struct lower_data): Add the_return_label and one_return_stmt.
authorRichard Henderson <rth@redhat.com>
Mon, 7 Jun 2004 17:53:03 +0000 (10:53 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Mon, 7 Jun 2004 17:53:03 +0000 (10:53 -0700)
commitf5a76aea0ddbb87fe8b4f64a283951d7e687b84c
treeae09b8f6224714650658af6382e87de0bae03de0
parent8cd0b81e9e372e8d7ff510d59e74e1a74616d773
gimple-low.c (struct lower_data): Add the_return_label and one_return_stmt.

        * gimple-low.c (struct lower_data): Add the_return_label and
        one_return_stmt.
        (lower_function_body): Initialize and use them.
        (lower_return_expr): New.
        (lower_stmt): Call it.
        * gimplify.c (gimplify_return_expr): Force the argument to be either
        null or a result_decl.
        * tree-gimple.c: Update gimple grammer to match.
        * tree-ssa-copyrename.c (copy_rename_partition_coalesce): Deny
        coalescing of result_decls.
testsuite/
        * gcc.dg/tree-ssa/20030728-1.c: Fixup return value to not match
        if temporaries.

From-SVN: r82701
gcc/ChangeLog
gcc/gimple-low.c
gcc/gimplify.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/20030728-1.c
gcc/tree-gimple.c
gcc/tree-ssa-copyrename.c