From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BD20B385E00B; Fri, 27 Mar 2020 14:59:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BD20B385E00B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1585321195; bh=RaFl9fiEcM+W1U8wwAlP/MeO6DTwE2v83u3feMW0Qzw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=c6uXa7/mOJT71IhK5Oa4ihZt4r6ORAzDQ0GAbELvvQGV16sXMuc5SgVxoIVijqbs6 GDtwLNeqP/+ktLU9APzwl8I2cIoDRHEVEI+MIaiQ7wrrMWulTQV0+IdQNELaz1yY4+ cuJdIWoExXX44aPB5jdQwa7OkNuVU34f4z14XvZc= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/94257] ICE in inline nested namespace Date: Fri, 27 Mar 2020 14:59:55 +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: ice-on-invalid-code 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: nathan 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 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: Fri, 27 Mar 2020 14:59:55 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D94257 --- Comment #2 from CVS Commits --- The master branch has been updated by Nathan Sidwell : https://gcc.gnu.org/g:9dba60130dc3ebf7cce8716a36672281688693f7 commit r10-7423-g9dba60130dc3ebf7cce8716a36672281688693f7 Author: Nathan Sidwell Date: Fri Mar 27 07:54:33 2020 -0700 c++: Fix ICE after ambiguous inline namespace reopen [PR94257] Following DR2061, 'namespace F', looks for 'F's inside inline namespace= s. That can result in ambiguous lookups that we failed to diagnose early enough, leading us to push a new namespace and ICE later. Diagnose the ambigui= ty earlier, and then pick one. PR c++/94257 * name-lookup.c (push_namespace): Triage ambiguous lookups that contain namespaces.=