Bug 112115 - SH4 ICE: in extract_constrain_insn, at recog.cc:2692 with -mlra (VMUBEEP)
Summary: SH4 ICE: in extract_constrain_insn, at recog.cc:2692 with -mlra (VMUBEEP)
Status: UNCONFIRMED
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
: 112114 112118 112119 112120 112121 112122 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-10-28 12:20 UTC by Andy B
Modified: 2024-02-15 19:03 UTC (History)
2 users (show)

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


Attachments
Temp file with ICE error (17.45 KB, text/plain)
2023-10-28 12:20 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:20:04 UTC
Created attachment 56322 [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:
beep.c:200:1: error: insn does not satisfy its constraints:
  200 | }
      | ^
(insn 1726 1725 127 5 (parallel [
            (set (reg:SF 65 fr1 [735])
                (reg:SF 0 r0 [736]))
            (use (reg:SI 154 fpscr0))
            (clobber (scratch:SI))
        ]) "beep.c":78:17 214 {movsf_ie}
     (expr_list:REG_DEAD (reg:SF 0 r0 [736])
        (nil)))
during RTL pass: cprop_hardreg
beep.c:200:1: internal compiler error: in extract_constrain_insn, at recog.cc:2692
Comment 1 Andy B 2023-10-28 12:47:31 UTC
Missed adding -mlra in CFLAGS
Comment 2 Andrew Pinski 2023-10-28 17:49:41 UTC
*** Bug 112118 has been marked as a duplicate of this bug. ***
Comment 3 Andrew Pinski 2023-10-28 17:49:58 UTC
*** Bug 112119 has been marked as a duplicate of this bug. ***
Comment 4 Andrew Pinski 2023-10-28 17:50:09 UTC
*** Bug 112120 has been marked as a duplicate of this bug. ***
Comment 5 Andrew Pinski 2023-10-28 17:50:22 UTC
*** Bug 112121 has been marked as a duplicate of this bug. ***
Comment 6 Andrew Pinski 2023-10-28 17:50:40 UTC
*** Bug 112122 has been marked as a duplicate of this bug. ***
Comment 7 Andrew Pinski 2023-10-28 17:51:21 UTC
*** Bug 112114 has been marked as a duplicate of this bug. ***