From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id CA80C384F4B9; Mon, 24 Jun 2024 06:40:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CA80C384F4B9 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1719211243; bh=Hcgty2q3vGoWP6iV8dhwQ17MpGRiqKUFYyPXkPAueyQ=; h=From:To:Subject:Date:From; b=MkWI2bI3wWYvwe9+o0PF8bYQ3XEz+7ADyuzLhJfmBj6w2JUVghrVOODSR1gM2eoA5 IWQiGDzQhXGDomAnq5jyuZ93PiOEyN9fTbgJFLuip+wKtwF4J/zNaorfj3xFueXEMa 46BgOHOP71U7MNHtuMRcNr/zBayCYpBLt7Yv0tHk= From: "glaubitz at physik dot fu-berlin.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/115608] New: ICE in extract_insn, at recog.cc:2812 when building with -mv8plus Date: Mon, 24 Jun 2024 06:40:43 +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: 14.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: glaubitz at physik dot fu-berlin.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 cc target_milestone cf_gcctarget 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=3D115608 Bug ID: 115608 Summary: ICE in extract_insn, at recog.cc:2812 when building with -mv8plus Product: gcc Version: 14.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: glaubitz at physik dot fu-berlin.de CC: ebotcazou at gcc dot gnu.org, jrtc27 at jrtc27 dot com, matorola at gmail dot com, sjames at gcc dot gnu.org Target Milestone: --- Target: sparc-linux-gnu Support for the V8+ API seems to be broken in GCC as even trying to build a simple program with "-mv8plus" fails: (sid_sparc64-dchroot)glaubitz@stadler:~$ cat hello.c #include int main () { printf("Hello World!"); return 0; } (sid_sparc64-dchroot)glaubitz@stadler:~$ gcc-14 -mv8plus hello.c -o hello hello.c: In function 'main': hello.c:6:1: error: unrecognizable insn: 6 | } | ^ (insn 6 5 7 2 (set (reg:DI 115) (lo_sum:DI (reg:DI 115) (unspec:DI [ (symbol_ref/f:SI ("*.LC0") [flags 0x2] ) ] UNSPEC_MOVE_PIC))) "hello.c":4:3 -1 (nil)) during RTL pass: vregs hello.c:6:1: internal compiler error: in extract_insn, at recog.cc:2812 0x4d60a7 _fatal_insn(char const*, rtx_def const*, char const*, int, char const*) ../../src/gcc/rtl-error.cc:108 0x4d60d7 _fatal_insn_not_found(rtx_def const*, char const*, int, char const= *) ../../src/gcc/rtl-error.cc:116 0xb3b21b extract_insn(rtx_insn*) ../../src/gcc/recog.cc:2812 0x9e29eb instantiate_virtual_regs_in_insn ../../src/gcc/function.cc:1612 0x9e29eb instantiate_virtual_regs ../../src/gcc/function.cc:1995 0x9e29eb execute ../../src/gcc/function.cc:2042 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. (sid_sparc64-dchroot)glaubitz@stadler:~$=