From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3544A3858CDB; Sat, 29 Apr 2023 01:29:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3544A3858CDB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1682731763; bh=xk72B6ryGeLgT0+2WXhDCpeKN2hlG/eIFsi/eRMR5l0=; h=From:To:Subject:Date:From; b=Q3EnIWJLX6HTZNigSv6/YyUNZZ4iP01ZwZ22Z6DfPjZMM8DhfIGbL8GSRDnLRS626 XHbX1BIB+AJ0I9e2lpHSXsP1Euxz7pKjRO8Fv/Ac0mUrIj2es+pmEgxencuuvE7+gx 9ZlnRxuwsRpkUNTH/PNw/q3RlxQ9I9N49pvL6hTM= From: "sjames at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/109676] New: [13/14 regression] ICE in simplify_subreg, at simplify-rtx.cc:7426 when building firefox with -O2 -march=alderlake -g Date: Sat, 29 Apr 2023 01:29:22 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization 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 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=3D109676 Bug ID: 109676 Summary: [13/14 regression] ICE in simplify_subreg, at simplify-rtx.cc:7426 when building firefox with -O2 -march=3Dalderlake -g Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: sjames at gcc dot gnu.org Target Milestone: --- Originally reported downstream in Gentoo at https://bugs.gentoo.org/905262. Unfortunately, the original reproducer is too big even compressed, so it's = at http://dev.gentoo.org/~sam/bugs/gcc/gcc-firefox-alderlake-x86/Unified_cpp_d= om_fetch1.ii.xz. I'm working on a reduction now. ``` $ g++-13 -march=3Dalderlake -O2 -g -c Unified_cpp_dom_fetch1.ii [...] during RTL pass: vartrack Unified_cpp_dom_fetch1.ii: In static member function =E2=80=98static mozilla::Maybe IPC::ParamTraits::Read(IPC::MessageRead= er*)=E2=80=99: Unified_cpp_dom_fetch1.ii:183311:1: internal compiler error: in simplify_subreg, at simplify-rtx.cc:7426 183311 | } | ^ 0xb99b70 simplify_context::simplify_subreg(machine_mode, rtx_def*, machine_mode, poly_int<1u, unsigned long>) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-13.1.0-r1/gcc-13.1.0/gcc/simplify-rtx.cc:7426 0x1f4e111 simplify_context::simplify_gen_subreg(machine_mode, rtx_def*, machine_mode, poly_int<1u, unsigned long>) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-13.1.0-r1/gcc-13.1.0/gcc/simplify-rtx.cc:7715 0x20c4a01 simplify_gen_subreg(machine_mode, rtx_def*, machine_mode, poly_int<1u, unsigned long>) /usr/src/debug/sys-devel/gcc-13.1.0-r1/gcc-13.1.0/gcc/rtl.h:3535 0x20c4a01 vt_expand_loc_callback =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-13.1.0-r1/gcc-13.1.0/gcc/var-tracking.cc:8524 0x208b8b1 cselib_expand_value_rtx_1 /usr/src/debug/sys-devel/gcc-13.1.0-r1/gcc-13.1.0/gcc/cselib.cc:1953 0x20c3b4b vt_expand_var_loc_chain /usr/src/debug/sys-devel/gcc-13.1.0-r1/gcc-13.1.0/gcc/cselib.cc:1836 0x20c459b vt_expand_loc_callback =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-13.1.0-r1/gcc-13.1.0/gcc/var-tracking.cc:8583 0x208b4ec cselib_expand_value_rtx_1 /usr/src/debug/sys-devel/gcc-13.1.0-r1/gcc-13.1.0/gcc/cselib.cc:1988 0x20c3b4b vt_expand_var_loc_chain /usr/src/debug/sys-devel/gcc-13.1.0-r1/gcc-13.1.0/gcc/cselib.cc:1836 0x20c459b vt_expand_loc_callback =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-13.1.0-r1/gcc-13.1.0/gcc/var-tracking.cc:8583 0x20c3b4b vt_expand_var_loc_chain /usr/src/debug/sys-devel/gcc-13.1.0-r1/gcc-13.1.0/gcc/cselib.cc:1836 0x20c459b vt_expand_loc_callback =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-13.1.0-r1/gcc-13.1.0/gcc/var-tracking.cc:8583 0x208b4ec cselib_expand_value_rtx_1 /usr/src/debug/sys-devel/gcc-13.1.0-r1/gcc-13.1.0/gcc/cselib.cc:1988 0x20c3b4b vt_expand_var_loc_chain /usr/src/debug/sys-devel/gcc-13.1.0-r1/gcc-13.1.0/gcc/cselib.cc:1836 0x20c2f94 vt_expand_1pvar =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-13.1.0-r1/gcc-13.1.0/gcc/var-tracking.cc:8696 0x20c2f94 emit_note_insn_var_location(variable**, emit_note_data*) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-13.1.0-r1/gcc-13.1.0/gcc/var-tracking.cc:8750 0x20804fc void hash_table::traverse_noresize(emit_note_data= *) /usr/src/debug/sys-devel/gcc-13.1.0-r1/gcc-13.1.0/gcc/hash-table.h:= 1173 0x20804fc void hash_table::traverse(emit_note_data= *) /usr/src/debug/sys-devel/gcc-13.1.0-r1/gcc-13.1.0/gcc/hash-table.h:= 1194 0x20804fc emit_notes_for_changes =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-13.1.0-r1/gcc-13.1.0/gcc/var-tracking.cc:9110 0x207e49d emit_notes_in_bb =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-13.1.0-r1/gcc-13.1.0/gcc/var-tracking.cc:9544 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. ```=