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 regression/95025] [11 Regression] ICE in execute_sm_exit at gcc/tree-ssa-loop-im.c:2224 since r11-161-g283cb9ea6293e813
Date: Mon, 11 May 2020 07:41:08 +0000	[thread overview]
Message-ID: <bug-95025-4-0iBJQZoJqN@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-95025-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> ---
$ cat pr95025.c
static int a;
short b;
int *c;
void d() {
  for (;; a -= 1)
    for (; b; b += 1) {
      *c ^= 5;
      if (a)
        return;
    }
}

$ gcc -O2 -c pr95025.c -Werror
during GIMPLE pass: lim
pr95025.c: In function ‘d’:
pr95025.c:4:6: internal compiler error: Segmentation fault
    4 | void d() {
      |      ^
0xe36b0f crash_signal
        /home/marxin/Programming/gcc/gcc/toplev.c:328
0x7ffff78fef1f ???
       
/usr/src/debug/glibc-2.31-4.1.x86_64/signal/../sysdeps/unix/sysv/linux/x86_64/sigaction.c:0
0x72dd2c execute_sm_exit
        /home/marxin/Programming/gcc/gcc/tree-ssa-loop-im.c:2224
0xf71d25 hoist_memory_references
        /home/marxin/Programming/gcc/gcc/tree-ssa-loop-im.c:2562
0xf71d25 store_motion_loop
        /home/marxin/Programming/gcc/gcc/tree-ssa-loop-im.c:2824
0xf70a21 store_motion_loop
        /home/marxin/Programming/gcc/gcc/tree-ssa-loop-im.c:2830
0xf72cca store_motion
        /home/marxin/Programming/gcc/gcc/tree-ssa-loop-im.c:2845
0xf72cca tree_ssa_lim
        /home/marxin/Programming/gcc/gcc/tree-ssa-loop-im.c:3065
0xf72cca execute
        /home/marxin/Programming/gcc/gcc/tree-ssa-loop-im.c:3115
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.

  parent reply	other threads:[~2020-05-11  7:41 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-09 20:50 [Bug regression/95025] New: " marxin at gcc dot gnu.org
2020-05-09 20:51 ` [Bug regression/95025] " marxin at gcc dot gnu.org
2020-05-10 20:05 ` dcb314 at hotmail dot com
2020-05-11  6:47 ` rguenth at gcc dot gnu.org
2020-05-11  7:27 ` rguenth at gcc dot gnu.org
2020-05-11  7:35 ` dcb314 at hotmail dot com
2020-05-11  7:36 ` marxin at gcc dot gnu.org
2020-05-11  7:41 ` marxin at gcc dot gnu.org [this message]
2020-05-11  7:45 ` dcb314 at hotmail dot com
2020-05-11 14:53 ` cvs-commit at gcc dot gnu.org
2020-05-11 14:53 ` rguenth 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-95025-4-0iBJQZoJqN@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).