From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 856E63877013; Thu, 12 Mar 2020 15:59:39 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 856E63877013 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1584028779; bh=RsOY+p6Bf+ncW/Bhn6DufLrxjFvS7vAWBXl5VHBtZTE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=MTPI5wB8l3NGwuDtxpjGSVE3rF+MtMRwNUfHQSNFm67Laess5LDbXktnaNA4A5AUj 9mDbX2WjOSvCk/zqx9ycB99OuM0RzBxhA5nMg52AF8CYkCq24nED6Id1QlYc66Cmwz buBcdZDZcMn1O/FltuEQgPTsu8SbjamXrP7FfZWk= From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/79163] Access-checking not done in template argument list of partial specialization Date: Thu, 12 Mar 2020 15:59:39 +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: 7.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status target_milestone resolution 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Mar 2020 15:59:39 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D79163 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Target Milestone|--- |8.2 Resolution|--- |FIXED --- Comment #2 from Jonathan Wakely --- Seems to be fixed in 8.2 and later, by r261151: PR c++/61806 - missed SFINAE with partial specialization. * cp-tree.h (deferring_access_check_sentinel): Add deferring_ki= nd parameter to constructor. * pt.c (instantiate_class_template_1): Enable access checking before call to most_specialized_partial_spec.=