public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/111704] New: ICE in extract_insn, at recog.cc:2791 on aarch64-linux-gnu during RTL pass: cprop_hardreg
@ 2023-10-05 14:08 Simon.Richter at hogyros dot de
  2023-10-05 17:22 ` [Bug target/111704] " pinskia at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: Simon.Richter at hogyros dot de @ 2023-10-05 14:08 UTC (permalink / raw)
  To: gcc-bugs

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug target/111704] ICE in extract_insn, at recog.cc:2791 on aarch64-linux-gnu during RTL pass: cprop_hardreg
  2023-10-05 14:08 [Bug target/111704] New: ICE in extract_insn, at recog.cc:2791 on aarch64-linux-gnu during RTL pass: cprop_hardreg Simon.Richter at hogyros dot de
@ 2023-10-05 17:22 ` pinskia at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-10-05 17:22 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |DUPLICATE
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Dup of bug 111411.

*** This bug has been marked as a duplicate of bug 111411 ***

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-10-05 17:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-05 14:08 [Bug target/111704] New: ICE in extract_insn, at recog.cc:2791 on aarch64-linux-gnu during RTL pass: cprop_hardreg Simon.Richter at hogyros dot de
2023-10-05 17:22 ` [Bug target/111704] " pinskia at gcc dot gnu.org

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).