tree-nrv.c (tree_nrv): Fix to check assignments to the RESULT_DECL rather than just...
authorJason Merrill <jason@redhat.com>
Fri, 24 Jun 2005 19:30:20 +0000 (15:30 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 24 Jun 2005 19:30:20 +0000 (15:30 -0400)
commit0620800904747ddbcece61fea155906d3c681e2c
treecc1eb57acf77bc335e4ef70031c382fff9d100a1
parentce91e74c187986865c3de8fbd871242183afa93d
tree-nrv.c (tree_nrv): Fix to check assignments to the RESULT_DECL rather than just RETURN_EXPRs.

        * tree-nrv.c (tree_nrv): Fix to check assignments to the
        RESULT_DECL rather than just RETURN_EXPRs.
        (finalize_nrv_r): Adjust.

From-SVN: r101296
gcc/ChangeLog
gcc/testsuite/gcc.dg/nrv1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/nrv2.c [new file with mode: 0644]
gcc/tree-nrv.c