From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id DEBD83858C2B; Thu, 31 Aug 2023 18:48:34 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DEBD83858C2B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1693507714; bh=eOlFEcLCALkSV43/qjJxMuIRMK+c60WylErLgEnWgYU=; h=From:To:Subject:Date:From; b=j69zAbiuqLZQ35oT+HHBjYAElLfDzItcgjRpnlzjDH13xSr1TvIGxbAsFokfGODDZ OGlMfAqMaddfVM5S1aON6YhXQz6KE/mdArlPfc2Va3QqXMpQ9VU7mrVd9VqOBBRgKR ddWbQrzTJTbKtHnolkVeXRQ9qYZrPaajVraDXx9w= From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/111260] New: arm: ice in maybe_legitimize_operand, at optabs.cc:8054 Date: Thu, 31 Aug 2023 18:48:34 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dcb314 at hotmail 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 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=3D111260 Bug ID: 111260 Summary: arm: ice in maybe_legitimize_operand, at optabs.cc:8054 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- Created attachment 55827 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D55827&action=3Dedit C source code For the attached C code, on a raspberry Pi 3, with compiler flag -O2 and recent gcc, does this: bug952.c:809:17: internal compiler error: in maybe_legitimize_operand, at optabs.cc:8054 809 | static uint32_t func_16(int8_t * p_17, int64_t p_18) | ^~~~~~~ 0x8811b3 maybe_legitimize_operand ../../trunk/gcc/optabs.cc:8054 0x8811b3 maybe_legitimize_operands(insn_code, unsigned int, unsigned int, expand_operand*) ../../trunk/gcc/optabs.cc:8191 0x87dfa7 maybe_gen_insn(insn_code, unsigned int, expand_operand*) ../../trunk/gcc/optabs.cc:8210 0x87ecff maybe_expand_insn(insn_code, unsigned int, expand_operand*) ../../trunk/gcc/optabs.cc:8265 The bug first seems to appear sometime between g:bb0da4542df887a5 and g:7c04da768c1fc22e=