public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "asolokha at gmx dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/100066] New: [11 Regression] ICE in lra_assign, at lra-assigns.c:1649
Date: Tue, 13 Apr 2021 16:30:00 +0000	[thread overview]
Message-ID: <bug-100066-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 100066
           Summary: [11 Regression] ICE in lra_assign, at
                    lra-assigns.c:1649
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Keywords: ice-on-invalid-code
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: asolokha at gmx dot com
  Target Milestone: ---
            Target: x86_64-unknown-linux-gnu

gcc-11.0.1-alpha20210411 snapshot (g:ac200799acb5cd2fb9e1758f6bf5fff1978daaeb)
ICEs when compiling the following testcase w/ -O1:

int pm;

void
w3 (int, int, int);

void
e6 (__int128 rt, long int mo)
{
  mo += rt / 0;
  w3 (pm / mo, pm, 0);
}

% x86_64-unknown-linux-gnu-gcc-11.0.1 -O1 -w -c eukuvtrk.c
during RTL pass: reload
eukuvtrk.c: In function 'e6':
eukuvtrk.c:11:1: internal compiler error: in lra_assign, at lra-assigns.c:1649
   11 | }
      | ^
0xc6d9fa lra_assign(bool&)
       
/var/tmp/portage/sys-devel/gcc-11.0.1_alpha20210411/work/gcc-11-20210411/gcc/lra-assigns.c:1649
0xc67b94 lra(_IO_FILE*)
       
/var/tmp/portage/sys-devel/gcc-11.0.1_alpha20210411/work/gcc-11-20210411/gcc/lra.c:2387
0xc203c9 do_reload
       
/var/tmp/portage/sys-devel/gcc-11.0.1_alpha20210411/work/gcc-11-20210411/gcc/ira.c:5835
0xc203c9 execute
       
/var/tmp/portage/sys-devel/gcc-11.0.1_alpha20210411/work/gcc-11-20210411/gcc/ira.c:6021

It ICEs on the same assertion as in PR99829, so I suppose it's actually a
duplicate.

             reply	other threads:[~2021-04-13 16:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-13 16:30 asolokha at gmx dot com [this message]
2021-04-13 16:37 ` [Bug rtl-optimization/100066] " jakub at gcc dot gnu.org
2021-04-13 17:37 ` vmakarov at gcc dot gnu.org
2021-04-14 17:23 ` cvs-commit at gcc dot gnu.org
2021-04-15  7:57 ` jakub 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-100066-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).