https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69223

--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Jul 22 03:45:54 2016
New Revision: 238624

URL: https://gcc.gnu.org/viewcvs?rev=238624&root=gcc&view=rev
Log:
        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.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-deduce3.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/semantics.c

Reply via email to