]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/cp/semantics.c
re PR tree-optimization/37568 (ICE returning a struct)
authorJakub Jelinek <jakub@redhat.com>
Thu, 9 Oct 2008 20:15:17 +0000 (22:15 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 9 Oct 2008 20:15:17 +0000 (22:15 +0200)
commit2d188530483c739165beb1f2e0c96d27fbae8421
treeca64d416e627764761b0a356641e582bd975140c
parent1692ae7eda60ea567bcd8e8bae40b6f20db5d82a
re PR tree-optimization/37568 (ICE returning a struct)

PR c++/37568
* semantics.c (finalize_nrv_r): Clear DECL_INITIAL instead of
setting it to error_mark_node.

* testsuite/libmudflap.c++/pass66-frag.cxx: New test.

From-SVN: r141010
gcc/cp/ChangeLog
gcc/cp/semantics.c
libmudflap/ChangeLog
libmudflap/testsuite/libmudflap.c++/pass66-frag.cxx [new file with mode: 0644]