From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4BBA13877011; Mon, 16 Mar 2020 15:38:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4BBA13877011 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1584373092; bh=H0J+YAItyBwiuaaSQ57w2fUzHtoFiEcd8Oelq92vTzo=; h=From:To:Subject:Date:In-Reply-To:References:From; b=vC5pnSgWWzl0L1coljPgT/eUhtwftMfOGMnDhTgCZgUzE16S2g3MeGxsrlKAz3ZHg oW2vhlHri+aUH/05RyV6Zxtq2vcTIxSXIkuNBxiaJ+xLY5t8pk2XiQuwKiwgUtphFM js19YjziF0T2dt6ZTBtOyscCS7gRqd1URjmIA78g= From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/91759] [8/9/10 Regression] g++ accepts ill-formed deduction guides in wrong scope since r7-6608-ga56c0ac08242269b Date: Mon, 16 Mar 2020 15:38:11 +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: 10.0 X-Bugzilla-Keywords: accepts-invalid X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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: Mon, 16 Mar 2020 15:38:12 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D91759 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #3 from Jakub Jelinek --- The commit removed the "must be declared in the same scope as" diagnostics altogether and expects set_decl_namespace not_found: to diagnose it instead. But on this testcase, in_namespace is false in the caller and so set_decl_namespace is never called from grokfndecl.=