public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/98086] New: [9/10/11 Regression] ICE in extract_insn, at recog.c:2315
@ 2020-12-01 17:53 gscfq@t-online.de
  2020-12-02  8:19 ` [Bug c/98086] " rguenth at gcc dot gnu.org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: gscfq@t-online.de @ 2020-12-01 17:53 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 98086
           Summary: [9/10/11 Regression] ICE in extract_insn, at
                    recog.c:2315
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

Started with r6 :


$ cat z1.c
struct S {
  int a, b, c, d;
} x;
void f ()
{
  asm ("" : "=@ccc"(x));
}


$ gcc-5 -c z1.c
z1.c: In function 'f':
z1.c:6:3: error: inconsistent operand constraints in an 'asm'
   asm ("" : "=@ccc"(x));
   ^
$
$ gcc-11-20201129 -c z1.c
z1.c: In function 'f':
z1.c:7:1: error: unrecognizable insn:
    7 | }
      | ^
(insn 7 6 5 2 (set (reg:TI 82)
        (zero_extend:TI (reg:QI 83))) "z1.c":6:3 -1
     (nil))
during RTL pass: vregs
z1.c:7:1: internal compiler error: in extract_insn, at recog.c:2315
0x5f2645 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
        ../../gcc/rtl-error.c:108
0x5f2664 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
        ../../gcc/rtl-error.c:116
0xabf2b7 extract_insn(rtx_insn*)
        ../../gcc/recog.c:2315
0x89cc63 instantiate_virtual_regs_in_insn
        ../../gcc/function.c:1609
0x89cc63 instantiate_virtual_regs
        ../../gcc/function.c:1979
0x89cc63 execute
        ../../gcc/function.c:2028

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

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

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-01 17:53 [Bug c/98086] New: [9/10/11 Regression] ICE in extract_insn, at recog.c:2315 gscfq@t-online.de
2020-12-02  8:19 ` [Bug c/98086] " rguenth at gcc dot gnu.org
2020-12-02  8:20 ` [Bug middle-end/98086] " rguenth at gcc dot gnu.org
2020-12-02  9:34 ` marxin at gcc dot gnu.org
2020-12-02 14:40 ` [Bug target/98086] " jakub at gcc dot gnu.org
2020-12-03 18:36 ` ubizjak at gmail dot com
2020-12-03 18:55 ` ubizjak at gmail dot com
2020-12-03 18:56 ` ubizjak at gmail dot com
2020-12-03 18:56 ` ubizjak at gmail dot com
2020-12-03 18:58 ` ubizjak at gmail dot com

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).