public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/99764] New: ICE in extract_insn, at recog.c:2770
@ 2021-03-25  9:06 marxin at gcc dot gnu.org
  2021-03-25 15:50 ` [Bug target/99764] " jakub at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: marxin at gcc dot gnu.org @ 2021-03-25  9:06 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 99764
           Summary: ICE in extract_insn, at recog.c:2770
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
  Target Milestone: ---
              Host: x86_64-linux-gnu
            Target: arm-linux-gnueabi

The following fails:

$ cat bf16.c
void foo(__bf16 b) {}

$ arm-linux-gnueabi-gcc bf16.c -c -mcpu=cortex-m1.small-multiply
bf16.c: In function ‘foo’:
bf16.c:1:21: error: unrecognizable insn:
    1 | void foo(__bf16 b) {}
      |                     ^
(insn 3 2 4 2 (set (mem/c:BF (reg/f:SI 113) [1 b+0 S2 A16])
        (reg:BF 0 r0 [ b ])) "bf16.c":1:20 -1
     (nil))
during RTL pass: vregs
bf16.c:1:21: internal compiler error: in extract_insn, at recog.c:2770
0x5fea13 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
       
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-arm/build/gcc/rtl-error.c:108
0x5fea2f _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
       
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-arm/build/gcc/rtl-error.c:116
0x5fdea6 extract_insn(rtx_insn*)
       
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-arm/build/gcc/recog.c:2770
0x89833f instantiate_virtual_regs_in_insn
       
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-arm/build/gcc/function.c:1609
0x89833f instantiate_virtual_regs
       
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-arm/build/gcc/function.c:1983
0x89833f execute
       
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-arm/build/gcc/function.c:2032
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.

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

* [Bug target/99764] ICE in extract_insn, at recog.c:2770
  2021-03-25  9:06 [Bug target/99764] New: ICE in extract_insn, at recog.c:2770 marxin at gcc dot gnu.org
@ 2021-03-25 15:50 ` jakub at gcc dot gnu.org
  2024-03-26  6:37 ` pinskia at gcc dot gnu.org
  2024-03-26  6:42 ` [Bug target/99764] ICE with BF16 and -mcpu=cortex-m1 pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: jakub at gcc dot gnu.org @ 2021-03-25 15:50 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I would expect this ICEs since
r10-6020-g2e87b2f4121fe1d39edb76f4e492dfe327be6a1b when __bf16 support has been
added, at least r11-1 already ICEs

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

* [Bug target/99764] ICE in extract_insn, at recog.c:2770
  2021-03-25  9:06 [Bug target/99764] New: ICE in extract_insn, at recog.c:2770 marxin at gcc dot gnu.org
  2021-03-25 15:50 ` [Bug target/99764] " jakub at gcc dot gnu.org
@ 2024-03-26  6:37 ` pinskia at gcc dot gnu.org
  2024-03-26  6:42 ` [Bug target/99764] ICE with BF16 and -mcpu=cortex-m1 pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-03-26  6:37 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
      Known to fail|                            |10.2.0
   Last reconfirmed|                            |2024-03-26
     Ever confirmed|0                           |1

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed, ICEs with `-mcpu=cortex-m1.small-multiply -mfloat-abi=soft`, looks
like since BF support was added to the arm backend even.

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

* [Bug target/99764] ICE with BF16 and -mcpu=cortex-m1
  2021-03-25  9:06 [Bug target/99764] New: ICE in extract_insn, at recog.c:2770 marxin at gcc dot gnu.org
  2021-03-25 15:50 ` [Bug target/99764] " jakub at gcc dot gnu.org
  2024-03-26  6:37 ` pinskia at gcc dot gnu.org
@ 2024-03-26  6:42 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-03-26  6:42 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jamborm at gcc dot gnu.org

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
*** Bug 109813 has been marked as a duplicate of this bug. ***

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

end of thread, other threads:[~2024-03-26  6:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-25  9:06 [Bug target/99764] New: ICE in extract_insn, at recog.c:2770 marxin at gcc dot gnu.org
2021-03-25 15:50 ` [Bug target/99764] " jakub at gcc dot gnu.org
2024-03-26  6:37 ` pinskia at gcc dot gnu.org
2024-03-26  6:42 ` [Bug target/99764] ICE with BF16 and -mcpu=cortex-m1 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).