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

--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-11 branch has been updated by Jason Merrill
<ja...@gcc.gnu.org>:

https://gcc.gnu.org/g:5c6577dcf1d413582775063c905d917e21bf0eba

commit r11-9994-g5c6577dcf1d413582775063c905d917e21bf0eba
Author: Jason Merrill <ja...@redhat.com>
Date:   Wed Apr 13 14:49:04 2022 -0400

    c++: template conversion op [PR101698]

    Asking for conversion to a dependent type also makes a BASELINK dependent.

            PR c++/101698

    gcc/cp/ChangeLog:

            * pt.c (tsubst_baselink): Also check dependent optype.

    gcc/testsuite/ChangeLog:

            * g++.dg/template/conv19.C: New test.

Reply via email to