public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/99455] New: internal compiler error: In function 'prb_reserve_in_last' in linux kernel
@ 2021-03-07 20:50 raj.khem at gmail dot com
  2021-03-07 21:00 ` [Bug c/99455] " pinskia at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: raj.khem at gmail dot com @ 2021-03-07 20:50 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 99455
           Summary: internal compiler error: In function
                    'prb_reserve_in_last' in linux kernel
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: raj.khem at gmail dot com
  Target Milestone: ---

compiling attached source with -Os causes the ICE, it works ok with -O1 or -O2

=========================
$ x86_64-yoe-linux-musl-gcc -Os b.c -c

b.c:21245:1: error: unrecognizable insn:
21245 | }
      | ^
(insn 58 57 446 6 (parallel [
            (asm_operands/v ("push %0 ; popf") ("") 0 [
                    (mem:DI (plus:DI (mem/c:DI (plus:DI (reg/f:DI 7 sp)
                                    (const_int 8 [0x8])) [27 %sfp+-72 S8 A64])
                            (const_int 8 [0x8])) [16 e_56(D)->irqflags+0 S8
A64])
                ]
                 [
                    (asm_input:DI ("g") b.c:9370)
                ]
                 [] b.c:9370)
            (clobber (mem:BLK (scratch) [0  A8]))
            (clobber (reg:CC 17 flags))
        ]) "b.c":9370:2 -1
     (nil))
during RTL pass: postreload
b.c:21245:1: internal compiler error: in extract_constrain_insn, at
recog.c:2670
0x1564e08 internal_error(char const*, ...)
        ???:0
0x60277f fancy_abort(char const*, int, char const*)
        ???:0
0x5dddbe _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
        ???:0
0x5dddda _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
        ???:0


==============================

gcc version 11.0.1 20210307 (experimental) (GCC)

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

* [Bug c/99455] internal compiler error: In function 'prb_reserve_in_last' in linux kernel
  2021-03-07 20:50 [Bug c/99455] New: internal compiler error: In function 'prb_reserve_in_last' in linux kernel raj.khem at gmail dot com
@ 2021-03-07 21:00 ` pinskia at gcc dot gnu.org
  2021-03-08 19:25 ` raj.khem at gmail dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-03-07 21:00 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

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

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

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

* [Bug c/99455] internal compiler error: In function 'prb_reserve_in_last' in linux kernel
  2021-03-07 20:50 [Bug c/99455] New: internal compiler error: In function 'prb_reserve_in_last' in linux kernel raj.khem at gmail dot com
  2021-03-07 21:00 ` [Bug c/99455] " pinskia at gcc dot gnu.org
@ 2021-03-08 19:25 ` raj.khem at gmail dot com
  2021-03-08 19:26 ` raj.khem at gmail dot com
  2021-05-30 20:34 ` [Bug middle-end/99455] " pinskia at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: raj.khem at gmail dot com @ 2021-03-08 19:25 UTC (permalink / raw)
  To: gcc-bugs

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

Khem Raj <raj.khem at gmail dot com> changed:

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

--- Comment #2 from Khem Raj <raj.khem at gmail dot com> ---
This is still reproducing with gcc built after fix for #99422 went in.

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

* [Bug c/99455] internal compiler error: In function 'prb_reserve_in_last' in linux kernel
  2021-03-07 20:50 [Bug c/99455] New: internal compiler error: In function 'prb_reserve_in_last' in linux kernel raj.khem at gmail dot com
  2021-03-07 21:00 ` [Bug c/99455] " pinskia at gcc dot gnu.org
  2021-03-08 19:25 ` raj.khem at gmail dot com
@ 2021-03-08 19:26 ` raj.khem at gmail dot com
  2021-05-30 20:34 ` [Bug middle-end/99455] " pinskia at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: raj.khem at gmail dot com @ 2021-03-08 19:26 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Khem Raj <raj.khem at gmail dot com> ---
Created attachment 50333
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50333&action=edit
testcase

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

* [Bug middle-end/99455] internal compiler error: In function 'prb_reserve_in_last' in linux kernel
  2021-03-07 20:50 [Bug c/99455] New: internal compiler error: In function 'prb_reserve_in_last' in linux kernel raj.khem at gmail dot com
                   ` (2 preceding siblings ...)
  2021-03-08 19:26 ` raj.khem at gmail dot com
@ 2021-05-30 20:34 ` pinskia at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-05-30 20:34 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

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

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

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

end of thread, other threads:[~2021-05-30 20:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-07 20:50 [Bug c/99455] New: internal compiler error: In function 'prb_reserve_in_last' in linux kernel raj.khem at gmail dot com
2021-03-07 21:00 ` [Bug c/99455] " pinskia at gcc dot gnu.org
2021-03-08 19:25 ` raj.khem at gmail dot com
2021-03-08 19:26 ` raj.khem at gmail dot com
2021-05-30 20:34 ` [Bug middle-end/99455] " 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).