From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 811903835E00; Thu, 15 Dec 2022 08:13:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 811903835E00 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1671092020; bh=1KkYCNfz4tHDfA7vY/dpoM/usejcMkMcYgFX477kb5c=; h=From:To:Subject:Date:From; b=u82H9Wsm+To4s/IN6lSYlk+KYjd9SKpF/hCign4xjHVPW3DeA02BhiLe3Knp/YIrK xm5lP46U8W4pCDo5aGulBxQbm3ivUcY762//rmdj5iXoYhzcjMfBMjsNdY90GrFdZM wlkpknVeVBWter8tSu2XAKlcl0y04MtK95UbJJ+Y= From: "m.olbrich at pengutronix dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/108120] New: ICE: in extract_insn, at recog.cc:2791 (on ARM with -mfpu=neon -freciprocal-math -O3) Date: Thu, 15 Dec 2022 08:13:39 +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: 12.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: m.olbrich at pengutronix dot de 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=3D108120 Bug ID: 108120 Summary: ICE: in extract_insn, at recog.cc:2791 (on ARM with -mfpu=3Dneon -freciprocal-math -O3) Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: m.olbrich at pengutronix dot de Target Milestone: --- Created attachment 54100 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D54100&action=3Dedit test-case to reproduce the ICE When building the attached test-case with: arm-linux-gnueabihf-gcc-12 -mfpu=3Dneon -freciprocal-math -O3 -c w.c -o /dev/null It fails with: w.c: In function =E2=80=98b=E2=80=99: w.c:7:1: error: unrecognizable insn: 7 | } | ^ (insn 63 62 64 7 (set (reg:V4SF 209) (mult:V4SF (reg:V4SF 209) (reg:V4SF 210))) "w.c":6:21 -1 (nil)) during RTL pass: vregs w.c:7:1: internal compiler error: in extract_insn, at recog.cc:2791 0x7f33afb67189 __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 0x7f33afb67244 __libc_start_main_impl ../csu/libc-start.c:381 This is with arm-linux-gnueabihf-gcc-12 12.2.0-9 from Debian but I've seen = it with the 12-20221022 snapshot and going back to at least gcc 9.2. -mfpu=3Dneon -freciprocal-math -O3 are all needed to reproduce this. It doe= s not happen with a different optimization level or -mfpu option.=