public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug regression/95025] New: [11 Regression] ICE in execute_sm_exit at gcc/tree-ssa-loop-im.c:2224 since r11-161-g283cb9ea6293e813
@ 2020-05-09 20:50 marxin at gcc dot gnu.org
  2020-05-09 20:51 ` [Bug regression/95025] " marxin at gcc dot gnu.org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: marxin at gcc dot gnu.org @ 2020-05-09 20:50 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 95025
           Summary: [11 Regression] ICE in execute_sm_exit at
                    gcc/tree-ssa-loop-im.c:2224 since
                    r11-161-g283cb9ea6293e813
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: regression
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
                CC: rguenth at gcc dot gnu.org
  Target Milestone: ---

The following is causing ICE:

$ cat lim.ii
struct a {
  int b;
} * c;
struct d {
  d *e;
};
struct f {
  bool done;
  d *g;
};
int h;
int i(f *j) {
  if (j->g) {
    j->g = j->g->e;
    return h;
  }
  j->done = true;
  return 0;
}
void k(bool j) { c->b = j; }
void l() {
  f a;
  for (; !(&a)->done; i(&a))
    k(true);
}

$ ./xgcc -B. /tmp/tree-into-ssa.ii -c -O2 -fsanitize=address
during GIMPLE pass: lim
../../gcc/tree-into-ssa.c: In member function ‘virtual edge_def*
mark_def_dom_walker::before_dom_children(basic_block)’:
../../gcc/tree-into-ssa.c:2336:1: internal compiler error: Segmentation fault
 2336 | mark_def_dom_walker::before_dom_children (basic_block bb)
      | ^~~~~~~~~~~~~~~~~~~
0xf217cf crash_signal
        ../../gcc/toplev.c:328
0x1089b3e execute_sm_exit
        ../../gcc/tree-ssa-loop-im.c:2224
0x108fa03 hoist_memory_references
        ../../gcc/tree-ssa-loop-im.c:2562
0x108fa03 store_motion_loop
        ../../gcc/tree-ssa-loop-im.c:2824
0x108e94d store_motion_loop
        ../../gcc/tree-ssa-loop-im.c:2830
0x1090d3a store_motion
        ../../gcc/tree-ssa-loop-im.c:2845
0x1090d3a tree_ssa_lim
        ../../gcc/tree-ssa-loop-im.c:3065
0x1090d3a execute
        ../../gcc/tree-ssa-loop-im.c:3115

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2020-05-11 14:53 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-09 20:50 [Bug regression/95025] New: [11 Regression] ICE in execute_sm_exit at gcc/tree-ssa-loop-im.c:2224 since r11-161-g283cb9ea6293e813 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
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

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