public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/98722] New: [11 Regression] ICE in lra_set_insn_recog_data, at lra.c:1004 since r11-6615-gcf2ac1c30af0fa783c8d72e527904dda5d8cc330
Date: Mon, 18 Jan 2021 09:44:00 +0000	[thread overview]
Message-ID: <bug-98722-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 98722
           Summary: [11 Regression] ICE in lra_set_insn_recog_data, at
                    lra.c:1004 since
                    r11-6615-gcf2ac1c30af0fa783c8d72e527904dda5d8cc330
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
                CC: vmakarov at gcc dot gnu.org
  Target Milestone: ---
              Host: x86_64-linux
            Target: s390x-linux-gnu

Since the revision I see the following ICE:

$ cat reint.cpp
struct B {
  virtual void Method();
};
typedef void (B::*fn_type_a)();

int main() {
  fn_type_a f(&B::Method);
  B b;
  (b.*f)();
}

$ ./xgcc -B. -Og -fno-tree-fre -fno-split-wide-types -c reint.cpp
during RTL pass: reload
reint.cpp: In function ‘int main()’:
reint.cpp:10:1: internal compiler error: in lra_set_insn_recog_data, at
lra.c:1004
   10 | }
      | ^
0x138dc84 lra_set_insn_recog_data(rtx_insn*)
        /home/marxin/Programming/gcc2/gcc/lra.c:1004
0x138b9e1 lra_get_insn_recog_data
        /home/marxin/Programming/gcc2/gcc/lra-int.h:486
0x138f87d lra_update_insn_regno_info(rtx_insn*)
        /home/marxin/Programming/gcc2/gcc/lra.c:1625
0x138fd86 lra_push_insn_1
        /home/marxin/Programming/gcc2/gcc/lra.c:1780
0x138fdb9 lra_push_insn(rtx_insn*)
        /home/marxin/Programming/gcc2/gcc/lra.c:1788
0x138fec1 push_insns
        /home/marxin/Programming/gcc2/gcc/lra.c:1831
0x13900ae lra_process_new_insns(rtx_insn*, rtx_insn*, rtx_insn*, char const*)
        /home/marxin/Programming/gcc2/gcc/lra.c:1871
0x13a73ac curr_insn_transform
        /home/marxin/Programming/gcc2/gcc/lra-constraints.c:4644
0x13a8a02 lra_constraints(bool)
        /home/marxin/Programming/gcc2/gcc/lra-constraints.c:5138
0x139119c lra(_IO_FILE*)
        /home/marxin/Programming/gcc2/gcc/lra.c:2332
0x1339df4 do_reload
        /home/marxin/Programming/gcc2/gcc/ira.c:5811
0x133a2d6 execute
        /home/marxin/Programming/gcc2/gcc/ira.c:5997
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.

             reply	other threads:[~2021-01-18  9:44 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-18  9:44 marxin at gcc dot gnu.org [this message]
2021-01-18  9:44 ` [Bug rtl-optimization/98722] " marxin at gcc dot gnu.org
2021-01-18 10:42 ` rguenth at gcc dot gnu.org
2021-01-19 19:30 ` vmakarov at gcc dot gnu.org
2021-01-19 19:36 ` marxin at gcc dot gnu.org
2021-01-19 19:49 ` vmakarov at gcc dot gnu.org
2021-01-20 17:34 ` cvs-commit at gcc dot gnu.org
2021-02-15 21:28 ` bergner at gcc dot gnu.org
2021-02-16 14:37 ` vmakarov at gcc dot gnu.org
2021-02-16 15:00 ` jakub at gcc dot gnu.org
2021-06-02 22:26 ` cvs-commit at gcc dot gnu.org

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