From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3E9553858C3B; Mon, 30 Aug 2021 19:03:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3E9553858C3B From: "jsm28 at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/102133] New: [12 Regression] ICE in set_rtl building libgcc __muldc3 for 32-bit SPARC Date: Mon, 30 Aug 2021 19:03:05 +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: 12.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jsm28 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 keywords bug_severity priority component assigned_to reporter cc target_milestone cf_gcctarget 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Aug 2021 19:03:06 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D102133 Bug ID: 102133 Summary: [12 Regression] ICE in set_rtl building libgcc __muldc3 for 32-bit SPARC Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: jsm28 at gcc dot gnu.org CC: liuhongt at gcc dot gnu.org Target Milestone: --- Target: sparc*-*-* Created attachment 51380 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D51380&action=3Dedit preprocessed source commit 7218c2ec365ce95f5a1012a6eb425b0a36aec6bf, "Make sure we're playing w= ith integral modes before call extract_integral_bit_field.", introduces the following ICE building libgcc for 32-bit SPARC (32-bit multilib for sparc64-linux-gnu). Compile the attached test with -m32 -O2. during RTL pass: expand /scratch/jmyers/glibc/many12/src/gcc/libgcc/libgcc2.c: In function '__muldc= 3': /scratch/jmyers/glibc/many12/src/gcc/libgcc/libgcc2.c:1947:1: internal comp= iler error: in set_rtl, at cfgexpand.c:200 1947 | CONCAT3(__mul,MODE,3) (MTYPE a, MTYPE b, MTYPE c, MTYPE d) | ^~~~~~~~ 0x7ccbe9 set_rtl /scratch/jmyers/glibc/many12/src/gcc/gcc/cfgexpand.c:179 0x7cf028 set_parm_rtl(tree_node*, rtx_def*) /scratch/jmyers/glibc/many12/src/gcc/gcc/cfgexpand.c:1401 0x98a451 assign_parm_setup_reg /scratch/jmyers/glibc/many12/src/gcc/gcc/function.c:3401 0x98a451 assign_parms /scratch/jmyers/glibc/many12/src/gcc/gcc/function.c:3707 0x98de2c expand_function_start(tree_node*) /scratch/jmyers/glibc/many12/src/gcc/gcc/function.c:5163 0x7e11b9 execute /scratch/jmyers/glibc/many12/src/gcc/gcc/cfgexpand.c:6692 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions.=