From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 61FE6385828D; Thu, 27 Apr 2023 01:46:22 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 61FE6385828D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1682559982; bh=XINcBZDp/YmR+oVtRUsN33z+oJwJuWZGQYuCvyBwAEA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=NmrofNnS/GhSjy2bUCdcszUceXOlPZaCeX+gTdrorY66Y1FM/1GNQEUrPHfOWCVs0 4SmJuW5oprfQ8dPIZOuCPzcIDe0QNHevKMgopjpVI6Q0xbsk7K/DdgIRHJgU4pbbtM X3VFg7VXe7Z9g6xEUQ3QQnlZJlf0ggpAeRgA+As8= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/61445] [4.10 Regression][C++11] ice in instantiate_decl at cp/pt.c:19770 Date: Thu, 27 Apr 2023 01:46:21 +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: 5.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jason at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.0 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=3D61445 --- Comment #5 from CVS Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:95d4c0d2e6318aef88ba0bc607dfc1ec6b7a612f commit r14-283-g95d4c0d2e6318aef88ba0bc607dfc1ec6b7a612f Author: Jason Merrill Date: Thu Mar 16 16:55:39 2023 -0400 c++: restore instantiate_decl assert For PR61445 I removed this assert, but PR108242 demonstrated why it's s= till useful; to avoid regressing the former testcase I check pattern_defined in the assert. This reverts r212524. PR c++/61445 gcc/cp/ChangeLog: * pt.cc (instantiate_decl): Assert !defer_ok for local class members.=