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 ipa/97243] New: [11 Regression] ICE in compute_parm_map at gcc/ipa-modref.c:1368 since r11-3478-gada353b87909fd6c
Date: Tue, 29 Sep 2020 13:49:10 +0000	[thread overview]
Message-ID: <bug-97243-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 97243
           Summary: [11 Regression] ICE in compute_parm_map at
                    gcc/ipa-modref.c:1368 since r11-3478-gada353b87909fd6c
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: ipa
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
                CC: hubicka at gcc dot gnu.org, marxin at gcc dot gnu.org
  Target Milestone: ---

The following fails:

$ cat fp.c
float fma_test1(float a, float b, float c) {
  float x = a * b + c;
  return x;
}
float fma_test2(float a, float b, float c) {
  float x = a * b + c;
  return x;
}

$ gcc fp.c -c -fipa-modref -fipa-icf
during IPA pass: modref
fp.c:8:1: internal compiler error: Segmentation fault
    8 | }
      | ^
0xda1cef crash_signal
        /home/marxin/Programming/gcc/gcc/toplev.c:329
0x7ffff788652f ???
       
/usr/src/debug/glibc-2.31-6.3.x86_64/signal/../sysdeps/unix/sysv/linux/x86_64/sigaction.c:0
0xb97b0c compute_parm_map
        /home/marxin/Programming/gcc/gcc/ipa-modref.c:1368
0xb9a0e1 compute_parm_map
        /home/marxin/Programming/gcc/gcc/ipa-modref.c:1338
0xb9a0e1 modref_propagate_in_scc
        /home/marxin/Programming/gcc/gcc/ipa-modref.c:1603
0xb9a0e1 execute
        /home/marxin/Programming/gcc/gcc/ipa-modref.c:1680
0xb9a0e1 execute
        /home/marxin/Programming/gcc/gcc/ipa-modref.c:1659
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:[~2020-09-29 13:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-29 13:49 marxin at gcc dot gnu.org [this message]
2020-09-29 13:49 ` [Bug ipa/97243] " marxin at gcc dot gnu.org
2020-10-01 13:44 ` cvs-commit at gcc dot gnu.org
2020-10-01 13:45 ` hubicka 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-97243-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).