From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id EDD883857719; Tue, 25 Jul 2023 20:31:44 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EDD883857719 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1690317104; bh=SItCy5HagrilZr3H30uwD8azSsL+dA21TGU2aMncWpw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=oSYiQ9qs/RnFTSwYC67nAdAz5M8ji8+ENqjZFnpKYbZxexJW+ZyIMnVjwdtr59KUR 64kjG7o4eVXEtLWVLXsW3egj0fthB7do0HHAiiXAnCfcrCi45qiaSg9PG6z+/PKGTc 1lp0Tizaaoy7g7e8UiwK20ZD5QUexnyqdh+Cewpc= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/108960] clear tf_partial et al in instantiate_template Date: Tue, 25 Jul 2023 20:31:44 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 12.0 X-Bugzilla-Keywords: internal-improvement X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D108960 --- Comment #2 from CVS Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:39004608e79b68fe7615a026ce58dea646dba20e commit r14-2765-g39004608e79b68fe7615a026ce58dea646dba20e Author: Marek Polacek Date: Tue Jul 25 14:36:47 2023 -0400 c++: clear tf_partial et al in instantiate_template [PR108960] In 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.=