[Bug c++/10200] [6 Regression] Weird clash with same names in different scopes

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu May 19 19:21:00 GMT 2016


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

--- Comment #39 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Thu May 19 19:20:40 2016
New Revision: 236486

URL: https://gcc.gnu.org/viewcvs?rev=236486&root=gcc&view=rev
Log:
        Fix handling of non-dependent calls with default template args.

        PR c++/10200
        * pt.c (fn_type_unification): Add outer template args if needed.
        (type_unification_real): Handle getting full args.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/fntmpdefarg6.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c


More information about the Gcc-bugs mailing list