From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id AF9A938555B9; Mon, 13 Nov 2023 12:07:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AF9A938555B9 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1699877230; bh=WPjPeV2PoojaSfa6s4JLeegGc0zGsEgRbB+dJ1GUmPI=; h=From:To:Subject:Date:From; b=Xkop2UW35v2X3kzPKgez8B5uMj7FZHNVGtFR+5MpJzP6sXA8kyMmWiFX3/YEtF0zy ncew4bRVejWPwAkR1oGnb9Jz+XdRWgVY5jIj/kCO2kCuTEVUNgnMDCc2crzQc4VChc U+sqLAPNbL0bUq57mX3eJM+/vhcQuHDoPOiuU9IE= From: "141242068 at smail dot nju.edu.cn" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/112511] New: GCC: 14: internal compiler error: in type_contains_placeholder_1, at tree.cc:4243 Date: Mon, 13 Nov 2023 12:07:10 +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: 141242068 at smail dot nju.edu.cn 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=3D112511 Bug ID: 112511 Summary: GCC: 14: internal compiler error: in type_contains_placeholder_1, at tree.cc:4243 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: 141242068 at smail dot nju.edu.cn Target Milestone: --- Compiler Explorer: https://gcc.godbolt.org/z/E457vrbGM When compiling this program with `gcc-14 -O2`, gcc ICEs: ``` struct T { _BitInt(22) a; }; void g(struct T v) { } void f() { struct T v; g(v); } ``` The crash output pasted from Compiler Explorer: ``` during GIMPLE pass: esra : In function 'f': :10:1: internal compiler error: in type_contains_placeholder_1, at tree.cc:4243 10 | } | ^ 0x238b06e internal_error(char const*, ...) ???:0 0xa1125c fancy_abort(char const*, int, char const*) ???:0 0x14596c1 type_contains_placeholder_p(tree_node*) ???:0 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See for instructions. Compiler returned: 1 ```=