public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/99461] New: [11 Regression] ICE in extract_constrain_insn, at recog.c:2670 since r11-7526-g9105757a59b89019
@ 2021-03-08 10:49 marxin at gcc dot gnu.org
  2021-03-08 11:05 ` [Bug target/99461] " marxin at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: marxin at gcc dot gnu.org @ 2021-03-08 10:49 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 99461
           Summary: [11 Regression] ICE in extract_constrain_insn, at
                    recog.c:2670 since r11-7526-g9105757a59b89019
           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
                CC: vmakarov at redhat dot com
  Target Milestone: ---
              Host: x86_64-linux-gnu

The following fails, it's reduced from qemu package:

$ cat qemu.i
struct saveBDAstate {
  short vbe_mode;
};

void __set_seg_ES();

struct saveBDAstate bda_save_restore(struct saveBDAstate *data) {
  struct saveBDAstate *info = data;
  __set_seg_ES();
  __asm__("" : "=m"(info->vbe_mode));
  __asm__("" : : ""(info));
}

$ gcc qemu.i -Os -m16 -S
qemu.i: In function ‘bda_save_restore’:
qemu.i:12:1: error: unrecognizable insn:
   12 | }
      | ^
(insn 8 7 9 2 (parallel [
            (set (mem:HI (mem/f/c:SI (plus:SI (reg/f:SI 6 bp)
                            (const_int 12 [0xc])) [3 data+0 S4 A32]) [2
data_1(D)->vbe_mode+0 S2 A16])
                (asm_operands:HI ("") ("=m") 0 []
                     []
                     [] qemu.i:10))
            (clobber (reg:CC 17 flags))
        ]) "qemu.i":10:3 -1
     (nil))
during RTL pass: reload
qemu.i:12:1: internal compiler error: in extract_constrain_insn, at
recog.c:2670
0x6ff1e1 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
        /home/marxin/Programming/gcc/gcc/rtl-error.c:108
0x6ff203 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
        /home/marxin/Programming/gcc/gcc/rtl-error.c:116
0x6fd485 extract_constrain_insn(rtx_insn*)
        /home/marxin/Programming/gcc/gcc/recog.c:2670
0xcca32f check_rtl
        /home/marxin/Programming/gcc/gcc/lra.c:2087
0xcceb1e lra(_IO_FILE*)
        /home/marxin/Programming/gcc/gcc/lra.c:2505
0xc85934 do_reload
        /home/marxin/Programming/gcc/gcc/ira.c:5827
0xc85934 execute
        /home/marxin/Programming/gcc/gcc/ira.c:6013
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] 5+ messages in thread

* [Bug target/99461] [11 Regression] ICE in extract_constrain_insn, at recog.c:2670 since r11-7526-g9105757a59b89019
  2021-03-08 10:49 [Bug target/99461] New: [11 Regression] ICE in extract_constrain_insn, at recog.c:2670 since r11-7526-g9105757a59b89019 marxin at gcc dot gnu.org
@ 2021-03-08 11:05 ` marxin at gcc dot gnu.org
  2021-03-08 11:05 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: marxin at gcc dot gnu.org @ 2021-03-08 11:05 UTC (permalink / raw)
  To: gcc-bugs

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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2021-03-08
   Target Milestone|---                         |11.0
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1

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

* [Bug target/99461] [11 Regression] ICE in extract_constrain_insn, at recog.c:2670 since r11-7526-g9105757a59b89019
  2021-03-08 10:49 [Bug target/99461] New: [11 Regression] ICE in extract_constrain_insn, at recog.c:2670 since r11-7526-g9105757a59b89019 marxin at gcc dot gnu.org
  2021-03-08 11:05 ` [Bug target/99461] " marxin at gcc dot gnu.org
@ 2021-03-08 11:05 ` rguenth at gcc dot gnu.org
  2021-03-08 11:10 ` marxin at gcc dot gnu.org
  2021-03-08 18:58 ` vmakarov at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-03-08 11:05 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Looks like a dup.

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

* [Bug target/99461] [11 Regression] ICE in extract_constrain_insn, at recog.c:2670 since r11-7526-g9105757a59b89019
  2021-03-08 10:49 [Bug target/99461] New: [11 Regression] ICE in extract_constrain_insn, at recog.c:2670 since r11-7526-g9105757a59b89019 marxin at gcc dot gnu.org
  2021-03-08 11:05 ` [Bug target/99461] " marxin at gcc dot gnu.org
  2021-03-08 11:05 ` rguenth at gcc dot gnu.org
@ 2021-03-08 11:10 ` marxin at gcc dot gnu.org
  2021-03-08 18:58 ` vmakarov at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: marxin at gcc dot gnu.org @ 2021-03-08 11:10 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #1)
> Looks like a dup.

I haven't found a PR that would start with the revision..

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

* [Bug target/99461] [11 Regression] ICE in extract_constrain_insn, at recog.c:2670 since r11-7526-g9105757a59b89019
  2021-03-08 10:49 [Bug target/99461] New: [11 Regression] ICE in extract_constrain_insn, at recog.c:2670 since r11-7526-g9105757a59b89019 marxin at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2021-03-08 11:10 ` marxin at gcc dot gnu.org
@ 2021-03-08 18:58 ` vmakarov at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: vmakarov at gcc dot gnu.org @ 2021-03-08 18:58 UTC (permalink / raw)
  To: gcc-bugs

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

Vladimir Makarov <vmakarov at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE
                 CC|                            |vmakarov at gcc dot gnu.org

--- Comment #3 from Vladimir Makarov <vmakarov at gcc dot gnu.org> ---
It is a duplicate of PR99422.  With patch for PR99422, the crash is gone.

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

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

end of thread, other threads:[~2021-03-08 18:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-08 10:49 [Bug target/99461] New: [11 Regression] ICE in extract_constrain_insn, at recog.c:2670 since r11-7526-g9105757a59b89019 marxin at gcc dot gnu.org
2021-03-08 11:05 ` [Bug target/99461] " marxin at gcc dot gnu.org
2021-03-08 11:05 ` rguenth at gcc dot gnu.org
2021-03-08 11:10 ` marxin at gcc dot gnu.org
2021-03-08 18:58 ` vmakarov 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).