From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E071F38582A0; Fri, 2 Feb 2024 22:11:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E071F38582A0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1706911896; bh=V6WeQCQhItgijhynir7I/qyXtHTbiR8AV4yqlbzn8s8=; h=From:To:Subject:Date:From; b=B1wyx63HqdkjngP5SZ5pB+LVGbBNcJ9h/pAJnelSorYwDGNL5o7z220J923UUDb+r mDnnv+MY2RNvzCPQbm1TIvaD3Ioo7TtHwt+Rdz9fw/Dvb6iNfGud175PvPrM5gW6pW z3qLB764FTH0S6KisO6d4+1a8bOHZXY7uVmIG8nM= From: "sjames at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/113731] New: [14 regression] ICE when building libbsd Date: Fri, 02 Feb 2024 22:11:34 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sjames at gcc dot gnu.org 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 cc target_milestone attachments.created 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=3D113731 Bug ID: 113731 Summary: [14 regression] ICE when building libbsd Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: sjames at gcc dot gnu.org CC: tnfchris at gcc dot gnu.org Target Milestone: --- Created attachment 57300 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D57300&action=3Dedit inet_net_pton.i [This is trunk at r14-8727-gf4998609908e49 with https://inbox.sourceware.org/gcc-patches/VI1PR08MB5325C266E259ACB3B572FAD6F= F432@VI1PR08MB5325.eurprd08.prod.outlook.com/ applied on top. Just filing as it's easier than giving lots of diff. logs on IRC.] I'll try reduce it now. ``` $ gcc -c inet_net_pton.i -O3 -march=3Dznver2 during GIMPLE pass: vect In file included from /var/tmp/portage/dev-libs/libbsd-0.11.8/work/libbsd-0.11.8/src/inet_net_pto= n.c:28: /usr/include/arpa/inet.h: In function =E2=80=98inet_net_pton=E2=80=99: /usr/include/arpa/inet.h:89:12: internal compiler error: Segmentation fault 89 | extern int inet_net_pton (int __af, const char *__cp, | ^~~~~~~~~~~~~ 0x562c4cda2376 crash_signal =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.1.9999/gcc-14.0.1.9999/gcc/toplev.cc:317 0x562c4dd1dfbe gsi_prev(gimple_stmt_iterator*) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.1.9999/gcc-14.0.1.9999/gcc/gimple-iterato= r.h:236 0x562c4dd1dfbe move_early_exit_stmts =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.1.9999/gcc-14.0.1.9999/gcc/tree-vect-loop= .cc:11804 0x562c4dd1dfbe vect_transform_loop(_loop_vec_info*, gimple*) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.1.9999/gcc-14.0.1.9999/gcc/tree-vect-loop= .cc:11969 0x562c4dfa47fd vect_transform_loops =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.1.9999/gcc-14.0.1.9999/gcc/tree-vectorize= r.cc:1006 0x562c4df19ab1 try_vectorize_loop_1 =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.1.9999/gcc-14.0.1.9999/gcc/tree-vectorize= r.cc:1152 0x562c4df19ab1 try_vectorize_loop =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.1.9999/gcc-14.0.1.9999/gcc/tree-vectorize= r.cc:1182 0x562c4dc52028 execute =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.1.9999/gcc-14.0.1.9999/gcc/tree-vectorize= r.cc:1298 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. ```=