From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2A0723858D35; Wed, 29 Jul 2020 09:07:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2A0723858D35 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1596013677; bh=MSxTcU3kb0ABRz5nalzbm24FmGZsSsHxyTvOxvd+1Rw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=knk3EzsfuMF5nhy3l9nM5bwS9/a5Rh75oYy9R68wZdzELiC+JtG+8TZcyZU6LaAco Hr0kqQJgVWT3akcvCyykIuFaDHt6pEEY0UVNxHZbnhHDZyFyr6L4T5frRCp4I1Rw+V l+fYqLqUNilMWDxX3lhT/dzbzfRr+C8HfO7w9VGw= From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/96282] [8/9/10/11 Regression] internal compiler error: in output_constructor_regular_field Date: Wed, 29 Jul 2020 09:07:57 +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.1.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin 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: keywords 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: Wed, 29 Jul 2020 09:07:57 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D96282 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|needs-bisection, | |needs-reduction | CC| |marxin at gcc dot gnu.org --- Comment #4 from Martin Li=C5=A1ka --- Reduced test-case: #include template class Pen : std::array { typedef std::array arr; public: // Removing either "constexpr" or ": arr()" from the following // line seems to work around the problem. constexpr Pen() : arr() { } }; class Farm { public: enum Sheep { BAA, ZZZ }; template using SheepPen =3D Pen; }; class Fence { public: constexpr Fence() { length =3D 12; } int length =3D 0; }; void cull() { static Farm::SheepPen s; } Will you look at it Richi?=