[Bug c++/81236] Crash when calling a template member function from generic lambda

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Mar 15 03:09:00 GMT 2018


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

--- Comment #9 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Thu Mar 15 03:08:24 2018
New Revision: 258547

URL: https://gcc.gnu.org/viewcvs?rev=258547&root=gcc&view=rev
Log:
        PR c++/81236 - auto variable and auto function

        * pt.c (tsubst_baselink): Update the type of the BASELINK after
        mark_used.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1y/auto-fn48.C
    trunk/gcc/testsuite/g++.dg/cpp1y/auto-fn49.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c


More information about the Gcc-bugs mailing list