From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4EA333858C2F; Mon, 13 Nov 2023 18:16:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4EA333858C2F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1699899380; bh=AodqBCuYETRcJsh4dpZZFz5xCITimoPnKxepn7kLZLY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=kuFlBVH/p0xeAL6gJt3f3VfGxrDhuEpV0wuAiIlahYqAgp9H+OMoWJKY7bK+NGTfI yjUFwR0qz92kl5JAMLnrsgt0IfIiYJughB/VYjJ1waDq7omIXVgZXyaIrEPLnvEWZA pGb1M1bKKvipNSEGuzsRxWxHPwGu9EkqZGyca7G8= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/112515] [14 regression] ICE when building Transmission in standard_conversion with {} and type depdent and enum class Date: Mon, 13 Nov 2023 18:16:20 +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: 14.0 X-Bugzilla-Keywords: ice-on-valid-code, needs-reduction X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: short_desc 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=3D112515 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[14 regression] ICE when |[14 regression] ICE when |building Transmission in |building Transmission in |standard_conversion |standard_conversion with {} | |and type depdent and enum | |class --- Comment #3 from Andrew Pinski --- (In reply to Andrew Pinski from comment #2) > Reduced testcase: > ``` > enum class Ordering { SMALLER =3D -1, EQUAL, LARGER }; > template > Ordering compare_vfunc(T t) { > return Ordering{compare(t)}; > } >=20 > ``` Note the following definition of Ordering also causes the ICE: ``` enum Ordering : int { SMALLER =3D -1, EQUAL, LARGER }; ```=