[Bug c++/93713] [10 Regression] ICE in equivalently_constrained, at cp/constraint.cc:2949

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Feb 13 21:33:00 GMT 2020


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

--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jason Merrill <jason@gcc.gnu.org>:

https://gcc.gnu.org/g:9a0c4f5b373e236cb4af5491f50862d41fd8775a

commit r10-6629-g9a0c4f5b373e236cb4af5491f50862d41fd8775a
Author: Jason Merrill <jason@redhat.com>
Date:   Thu Feb 13 16:56:08 2020 +0100

    c++: Fix useless using-declaration.

    Here reintroducing the same declarations into the global namespace via
    using-declaration is useless but OK.  And a function and a function
template
    with the same parameters do not conflict.

    gcc/cp/ChangeLog
    2020-02-13  Jason Merrill  <jason@redhat.com>

        PR c++/93713
        * name-lookup.c (matching_fn_p): A function does not match a
        template.


More information about the Gcc-bugs mailing list