Bug 112118 - SH4 ICE: in extract_constrain_insn, at recog.cc:2692 with -mlra (GHETTOPLAY)
Summary: SH4 ICE: in extract_constrain_insn, at recog.cc:2692 with -mlra (GHETTOPLAY)
Status: RESOLVED DUPLICATE of bug 112115
Alias: None
Product: gcc
Classification: Unclassified
Component: target (show other bugs)
Version: 13.2.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords: ice-on-valid-code
Depends on:
Blocks:
 
Reported: 2023-10-28 12:28 UTC by Andy B
Modified: 2023-10-28 17:49 UTC (History)
1 user (show)

See Also:
Host:
Target: sh*-*-*
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments
Temp file with ICE error (34.81 KB, text/plain)
2023-10-28 12:28 UTC, Andy B
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andy B 2023-10-28 12:28:55 UTC
Created attachment 56324 [details]
Temp file with ICE error

CFLAGS: 
-std=c2x -O2 -ml -m4-single-only -ffast-math -mfsrra -mfsca -matomic-model=soft-imask -ftls-model=local-exec -mlra -fomit-frame-pointer -fno-builtin

ICE:
ghettoplay.c:220:1: error: insn does not satisfy its constraints:
  220 | }
      | ^
(insn 605 604 269 15 (parallel [
            (set (reg:SF 65 fr1 [477])
                (reg:SF 0 r0 [478]))
            (use (reg:SI 154 fpscr0))
            (clobber (scratch:SI))
        ]) "ghettoplay.c":155:9 214 {movsf_ie}
     (expr_list:REG_DEAD (reg:SF 0 r0 [478])
        (nil)))
during RTL pass: cprop_hardreg
ghettoplay.c:220:1: internal compiler error: in extract_constrain_insn, at recog.cc:2692
Comment 1 Andy B 2023-10-28 12:45:40 UTC
Missed adding -mlra in CFLAGS
Comment 2 Drea Pinski 2023-10-28 17:49:41 UTC
Both issues are the same underlying issue.

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