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

--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The trunk branch has been updated by Marek Polacek <mpola...@gcc.gnu.org>:

https://gcc.gnu.org/g:39004608e79b68fe7615a026ce58dea646dba20e

commit r14-2765-g39004608e79b68fe7615a026ce58dea646dba20e
Author: Marek Polacek <pola...@redhat.com>
Date:   Tue Jul 25 14:36:47 2023 -0400

    c++: clear tf_partial et al in instantiate_template [PR108960]

    In <https://gcc.gnu.org/pipermail/gcc-patches/2023-February/612929.html>
    we concluded that we might clear all flags except tf_warning_or_error
    when performing instantiate_template.

            PR c++/108960

    gcc/cp/ChangeLog:

            * pt.cc (lookup_and_finish_template_variable): Don't clear
tf_partial
            here.
            (instantiate_template): Reset all complain flags except
            tf_warning_or_error.
  • [Bug c++/108960] clear tf_parti... cvs-commit at gcc dot gnu.org via Gcc-bugs

Reply via email to