public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/107609] New: ice in extract_insn, at recog.cc:2791
@ 2022-11-10 10:11 dcb314 at hotmail dot com
  2022-11-10 22:27 ` [Bug target/107609] " pinskia at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: dcb314 at hotmail dot com @ 2022-11-10 10:11 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 107609
           Summary: ice in extract_insn, at recog.cc:2791
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

For C testsuite file ./gcc.target/i386/prefetchi-1.c, compiled
with recent gcc, does this:


$ ~/gcc/results/bin/gcc -c w ./gcc.target/i386/prefetchi-1.c
./gcc.target/i386/prefetchi-1.c: In function ‘foo1’:
./gcc.target/i386/prefetchi-1.c:19:1: error: unrecognizable insn:
   19 | }
      | ^
(insn 6 3 7 2 (unspec_volatile [
            (symbol_ref:DI ("bar") [flags 0x3] <function_decl 0x7f6856732800
bar>)
            (const_int 3 [0x3])
        ] UNSPECV_PREFETCHI) "./gcc.target/i386/prefetchi-1.c":17:3 -1
     (nil))
during RTL pass: vregs
./gcc.target/i386/prefetchi-1.c:19:1: internal compiler error: in extract_insn,
at recog.cc:2791

The bug first seems to occur sometime between git hash e3b10249119fb425
and 9aa1b63a5554563b.

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

* [Bug target/107609] ice in extract_insn, at recog.cc:2791
  2022-11-10 10:11 [Bug c/107609] New: ice in extract_insn, at recog.cc:2791 dcb314 at hotmail dot com
@ 2022-11-10 22:27 ` pinskia at gcc dot gnu.org
  2022-12-22 14:49 ` mpolacek at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-11-10 22:27 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2022-11-10
           Keywords|                            |ice-on-valid-code, patch
                URL|                            |https://gcc.gnu.org/piperma
                   |                            |il/gcc-patches/2022-Novembe
                   |                            |r/605453.html
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Patch already submitted for this:
https://gcc.gnu.org/pipermail/gcc-patches/2022-November/605453.html

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

* [Bug target/107609] ice in extract_insn, at recog.cc:2791
  2022-11-10 10:11 [Bug c/107609] New: ice in extract_insn, at recog.cc:2791 dcb314 at hotmail dot com
  2022-11-10 22:27 ` [Bug target/107609] " pinskia at gcc dot gnu.org
@ 2022-12-22 14:49 ` mpolacek at gcc dot gnu.org
  2022-12-22 16:07 ` pinskia at gcc dot gnu.org
  2022-12-22 16:07 ` [Bug target/107609] ice in extract_insn, at recog.cc:2791 with _mm_prefetch pinskia at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2022-12-22 14:49 UTC (permalink / raw)
  To: gcc-bugs

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

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

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

--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Should have been fixed by r13-3886.

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

* [Bug target/107609] ice in extract_insn, at recog.cc:2791
  2022-11-10 10:11 [Bug c/107609] New: ice in extract_insn, at recog.cc:2791 dcb314 at hotmail dot com
  2022-11-10 22:27 ` [Bug target/107609] " pinskia at gcc dot gnu.org
  2022-12-22 14:49 ` mpolacek at gcc dot gnu.org
@ 2022-12-22 16:07 ` pinskia at gcc dot gnu.org
  2022-12-22 16:07 ` [Bug target/107609] ice in extract_insn, at recog.cc:2791 with _mm_prefetch pinskia at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-12-22 16:07 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Fixed.

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

* [Bug target/107609] ice in extract_insn, at recog.cc:2791 with _mm_prefetch
  2022-11-10 10:11 [Bug c/107609] New: ice in extract_insn, at recog.cc:2791 dcb314 at hotmail dot com
                   ` (2 preceding siblings ...)
  2022-12-22 16:07 ` pinskia at gcc dot gnu.org
@ 2022-12-22 16:07 ` pinskia at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-12-22 16:07 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|ice in extract_insn, at     |ice in extract_insn, at
                   |recog.cc:2791               |recog.cc:2791 with
                   |                            |_mm_prefetch
   Target Milestone|---                         |13.0

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

end of thread, other threads:[~2022-12-22 16:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-10 10:11 [Bug c/107609] New: ice in extract_insn, at recog.cc:2791 dcb314 at hotmail dot com
2022-11-10 22:27 ` [Bug target/107609] " pinskia at gcc dot gnu.org
2022-12-22 14:49 ` mpolacek at gcc dot gnu.org
2022-12-22 16:07 ` pinskia at gcc dot gnu.org
2022-12-22 16:07 ` [Bug target/107609] ice in extract_insn, at recog.cc:2791 with _mm_prefetch 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).