From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 46A9A3858D28; Tue, 29 Aug 2023 05:50:16 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 46A9A3858D28 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1693288216; bh=3/WGT4n0AO/aGqibl0OV4I1R9yH5NTbKQ97iXDXnBq8=; h=From:To:Subject:Date:From; b=PvELMmtyNoEX1dqgXy3+bRPbhKx/LGyF8bCgyI7Z+0wWzPwwPHFZEZjkXaTohdhvt dxtT6ibNlMYUj6FXTphwKPL7vNBE8ZzDYhSqu1F9JNmQamqnfJc4wPUMAit+WjwI4b q4Y6cq+iYxvtPJ5sf3bYlZn511ebiEyLFpIS8D4E= From: "stevenxia990430 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/111220] New: ICE with std::integral in template Date: Tue, 29 Aug 2023 05:50:15 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: stevenxia990430 at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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=3D111220 Bug ID: 111220 Summary: ICE with std::integral in template Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: stevenxia990430 at gmail dot com Target Milestone: --- The following invalid program reports an internal compiler error. Failed on gcc-trunk.=20 To quickly reproduce: https://gcc.godbolt.org/z/TsKjKbfrd ``` #include template ``` note that it requires --std=3Dc++20 or c++23, tried on default and it errors without any crashes.=