public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/95133] New: [9/10/11 Regression] ICE in gimple_redirect_edge_and_branch_force, at tree-cfg.c:6075
@ 2020-05-14 14:36 gscfq@t-online.de
  2020-05-14 15:05 ` [Bug c/95133] " marxin at gcc dot gnu.org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: gscfq@t-online.de @ 2020-05-14 14:36 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 95133
           Summary: [9/10/11 Regression] ICE in
                    gimple_redirect_edge_and_branch_force, at
                    tree-cfg.c:6075
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

Started with r8, needs option -O3 :


$ cat z1.c
extern int a[16];
void f (int *ip, int x)
{
  int *xp = a;
  for (int i=0; i<8; ++i)
  {
    base: if (x) return;
  }
  *xp++ = *ip;
  goto *(&&base + *ip);
}


$ gcc-11-20200510 -c z1.c -O2
$ gcc-11-20200510 -c z1.c -O3
during GIMPLE pass: split-paths
z1.c: In function 'f':
z1.c:2:6: internal compiler error: in gimple_redirect_edge_and_branch_force, at
tree-cfg.c:6075
    2 | void f (int *ip, int x)
      |      ^
0xd2de58 gimple_redirect_edge_and_branch_force
        ../../gcc/tree-cfg.c:6075
0x7d32a3 redirect_edge_and_branch_force(edge_def*, basic_block_def*)
        ../../gcc/cfghooks.c:490
0x7d509a duplicate_block(basic_block_def*, edge_def*, basic_block_def*,
copy_bb_data*)
        ../../gcc/cfghooks.c:1109
0xcddf05 transform_duplicate(basic_block_def*, basic_block_def*)
        ../../gcc/tracer.c:245
0x1697ae0 split_paths
        ../../gcc/gimple-ssa-split-paths.c:463
0x1697ae0 execute_split_paths
        ../../gcc/gimple-ssa-split-paths.c:503
0x1697ae0 execute
        ../../gcc/gimple-ssa-split-paths.c:540

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

end of thread, other threads:[~2020-12-01 14:03 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-14 14:36 [Bug c/95133] New: [9/10/11 Regression] ICE in gimple_redirect_edge_and_branch_force, at tree-cfg.c:6075 gscfq@t-online.de
2020-05-14 15:05 ` [Bug c/95133] " marxin at gcc dot gnu.org
2020-05-14 16:00 ` jgreenhalgh at gcc dot gnu.org
2020-05-14 20:26 ` [Bug tree-optimization/95133] [8/9/10/11 " marxin at gcc dot gnu.org
2020-05-15  7:19 ` rguenth at gcc dot gnu.org
2020-05-15 10:08 ` cvs-commit at gcc dot gnu.org
2020-05-15 10:09 ` [Bug tree-optimization/95133] [8/9/10 " rguenth at gcc dot gnu.org
2020-06-23 11:06 ` cvs-commit at gcc dot gnu.org
2020-09-11 10:37 ` [Bug tree-optimization/95133] [8/9 " cvs-commit at gcc dot gnu.org
2020-12-01 14:02 ` [Bug tree-optimization/95133] [8 " cvs-commit at gcc dot gnu.org
2020-12-01 14:03 ` 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).