]> git.ipfire.org Git - thirdparty/gcc.git/commit
PR c++/69223 - ICE with deduced template return type.
authorJason Merrill <jason@redhat.com>
Fri, 22 Jul 2016 03:57:43 +0000 (23:57 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 22 Jul 2016 03:57:43 +0000 (23:57 -0400)
commit9cc946ffcb6dc4bd7444b9ef2e56c2dcef5c3b43
tree0f92ad032c506b46b2114ffa550d4d51d3058856
parent46bd94f9fd8c396461d2433df72beb8f6762e528
PR c++/69223 - ICE with deduced template return type.

* semantics.c (apply_deduced_return_type): Call
complete_type_or_else before building the new RESULT_DECL.

From-SVN: r238631
gcc/cp/ChangeLog
gcc/cp/semantics.c
gcc/testsuite/g++.dg/cpp0x/lambda/lambda-deduce3.C [new file with mode: 0644]