public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "Simon.Richter at hogyros dot de" <gcc-bugzilla@gcc.gnu.org>
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	[thread overview]
Message-ID: <bug-111704-4@http.gcc.gnu.org/bugzilla/> (raw)

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111704

            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/synth
-I../../src/grt -I../../src/psl -I../../src/vhdl/translate -I../../src/ghdldrv
-I../../src/ortho -I../../src/ortho/llvm6 -I../../src/synth -I../../src/ghdldrv
-gnat12 -gnaty3befhkmr -g -gnatwa -gnatwC -gnatf -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
-fstack-clash-protection -mbranch-protection=standard -gno-record-gcc-switches
-gnata -I- /<<PKGBUILDDIR>>/src/synth/synth-disp_vhdl.adb
/<<PKGBUILDDIR>>/src/ghdldrv/ghdldrv.adb: In function ‘Ghdldrv.Gen_Makefile’:
/<<PKGBUILDDIR>>/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]))
        ]) "/<<PKGBUILDDIR>>/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
+===========================GNAT BUG DETECTED==============================+
| 12.3.0 (aarch64-linux-gnu) in extract_insn, at recog.cc:2791             |
| Error detected around /<<PKGBUILDDIR>>/src/ghdldrv/ghdldrv.adb:2022:8|
| Compiling /<<PKGBUILDDIR>>/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.                                       |
+==========================================================================+

Full build log is at
https://buildd.debian.org/status/fetch.php?pkg=ghdl&arch=arm64&ver=3.0.0%2Bdfsg2-1&stamp=1696130520&raw=0

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.

             reply	other threads:[~2023-10-05 14:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-05 14:08 Simon.Richter at hogyros dot de [this message]
2023-10-05 17:22 ` [Bug target/111704] " pinskia at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-111704-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).