public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/98086] New: [9/10/11 Regression] ICE in extract_insn, at recog.c:2315
Date: Tue, 01 Dec 2020 17:53:55 +0000	[thread overview]
Message-ID: <bug-98086-4@http.gcc.gnu.org/bugzilla/> (raw)

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

             reply	other threads:[~2020-12-01 17:53 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-01 17:53 gscfq@t-online.de [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-98086-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).