From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 61887385DC07; Thu, 5 Oct 2023 14:08:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 61887385DC07 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1696514906; bh=+U0cHGXevDq+Og4Ek5MN9tXObSRdr9AscmF6ZitUIJk=; h=From:To:Subject:Date:From; b=hahnWsYAQrvbXIP98Mmw4hZpuq5qJO5p843vqgde4HfbMPbr2m0ngP4b3HJ9l6fAv 4bY+t2uEfOr/0j10Y7GgVVUfqBvEZHPNi0jdShKpV3+K8xMMf7/AyHrKyNEL0Th/dg 93clRBFJCPQLBq+QGt6bSeh+m9J0v3QD18r0IvFQ= From: "Simon.Richter at hogyros dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/111704] New: ICE in extract_insn, at recog.cc:2791 on aarch64-linux-gnu during RTL pass: cprop_hardreg Date: Thu, 05 Oct 2023 14:08:25 +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: 12.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: Simon.Richter at hogyros 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 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=3D111704 Bug ID: 111704 Summary: ICE in extract_insn, at recog.cc:2791 on aarch64-linux-gnu during RTL pass: cprop_hardreg Product: gcc Version: 12.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: Simon.Richter at hogyros dot de Target Milestone: --- While [building GHDL 3.0.0]() on Debian, using gcc 12 as a base, we get an = ICE: aarch64-linux-gnu-gcc-12 -c -I./ -I../../src -I../../src/vhdl -I../../src/s= ynth -I../../src/grt -I../../src/psl -I../../src/vhdl/translate -I../../src/ghdl= drv -I../../src/ortho -I../../src/ortho/llvm6 -I../../src/synth -I../../src/ghd= ldrv -gnat12 -gnaty3befhkmr -g -gnatwa -gnatwC -gnatf -g -O2 -ffile-prefix-map=3D/<>=3D. -fstack-protector-strong -fstack-clash-protection -mbranch-protection=3Dstandard -gno-record-gcc-swi= tches -gnata -I- /<>/src/synth/synth-disp_vhdl.adb /<>/src/ghdldrv/ghdldrv.adb: In function =E2=80=98Ghdldrv.Gen_= Makefile=E2=80=99: /<>/src/ghdldrv/ghdldrv.adb:2022:8: error: unrecognizable insn: (insn 1387 147 204 13 (parallel [ (set (mem/c:SI (plus:DI (reg/f:DI 29 x29) (const_int -260 [0xfffffffffffffefc])) [36 files_it= +4 S4 A32]) (reg:SI 2 x2 [244])) (set (mem/c:SI (plus:DI (reg/f:DI 29 x29) (const_int -256 [0xffffffffffffff00])) [36 files_it= +8 S4 A64]) (reg:SI 1 x1 [604])) ]) "/<>/src/ghdldrv/ghdldrv.adb":1926:19 -1 (expr_list:REG_DEAD (reg:SI 2 x2 [244]) (expr_list:REG_DEAD (reg:SI 1 x1 [604]) (nil)))) during RTL pass: cprop_hardreg +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3DGNAT BUG DETECTED=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D+ | 12.3.0 (aarch64-linux-gnu) in extract_insn, at recog.cc:2791 | | Error detected around /<>/src/ghdldrv/ghdldrv.adb:2022:8| | Compiling /<>/src/ghdldrv/ghdldrv.adb| | Please submit a bug report; see https://gcc.gnu.org/bugs/ . | | Use a subject line meaningful to you and us to track the bug. | | Include the entire contents of this bug box in the report. | | Include the exact command that you entered. | | Also include sources listed below. | +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D+ Full build log is at https://buildd.debian.org/status/fetch.php?pkg=3Dghdl&arch=3Darm64&ver=3D3.= 0.0%2Bdfsg2-1&stamp=3D1696130520&raw=3D0 I have access to a test machine and an interest to get this package to work= , so if there are things I can do to help triaging this, please tell me.=