re PR c++/15461 (ICE due to NRV and inlining)
authorJason Merrill <jason@gcc.gnu.org>
Wed, 25 Aug 2004 15:16:36 +0000 (11:16 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 25 Aug 2004 15:16:36 +0000 (11:16 -0400)
commit905af9e968a904475e846afc73cc3cf07c5b359a
tree6217c93b085625d2f07fd2e7f8c0e797b601b4e0
parented89de94e600404a79c26669e91c55dbea674df6
re PR c++/15461 (ICE due to NRV and inlining)

        PR c++/15461
        * semantics.c (nullify_returns_r): Replace a DECL_STMT
        for the NRV with an INIT_EXPR.

From-SVN: r86552
gcc/testsuite/g++.dg/opt/nrv7.C [new file with mode: 0644]