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

            Bug ID: 106913
           Summary: [13 Regression] ICE in dump_bb_info, at cfg.cc:796
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gs...@t-online.de
  Target Milestone: ---

Started between 20220828 and 20220904, at -O0,
with file gcc.dg/pr51879.c (and several others) :


$ cat z1.c      # alias pr51879.c
int bar (int);
void baz (int);
void
foo (int y)
{
  int a;
  if (y == 6)
    a = bar (7);
  else
    a = bar (7);
  baz (a);
}


$ gcc-13-20220911 -c z1.c -O0 -da -Wall
during RTL pass: jump
dump file: z1.c.257r.jump
z1.c: In function 'foo':
z1.c:12:1: internal compiler error: in dump_bb_info, at cfg.cc:796
   12 | }
      | ^
0x9433ec dump_bb_info(_IO_FILE*, basic_block_def*, int, dump_flag, bool, bool)
        ../../gcc/cfg.cc:796
0x965f97 dump_bb(_IO_FILE*, basic_block_def*, int, dump_flag)
        ../../gcc/cfghooks.cc:299
0x9661cf dump_flow_info(_IO_FILE*, dump_flag)
        ../../gcc/cfghooks.cc:361
0x1c019cd execute
        ../../gcc/cfgcleanup.cc:3239

Reply via email to