[Bug c/106122] New: [12/13 Regression] ICE in fixup_args_size_notes, at expr.cc:4493

gscfq@t-online.de gcc-bugzilla@gcc.gnu.org
Tue Jun 28 17:06:55 GMT 2022


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

            Bug ID: 106122
           Summary: [12/13 Regression] ICE in fixup_args_size_notes, at
                    expr.cc:4493
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

Started between 20211219 and 20220109,
with -Oz and file gcc.target/i386/pr104446.c :


$ gcc-12-20211219 -c pr104446.c -m32 -Oz
$
$ gcc-13-20220626 -c pr104446.c -m32 -Oz
during RTL pass: peephole2
pr104446.c: In function 'baz':
pr104446.c:15:1: internal compiler error: in fixup_args_size_notes, at
expr.cc:4493
   15 | }
      | ^
0x8d72ec fixup_args_size_notes(rtx_insn*, rtx_insn*, poly_int<1u, long>)
        ../../gcc/expr.cc:4493
0xb98f36 peep2_attempt
        ../../gcc/recog.cc:4014
0xb98f36 peephole2_optimize
        ../../gcc/recog.cc:4183
0xb98f36 rest_of_handle_peephole2
        ../../gcc/recog.cc:4331
0xb98f36 execute
        ../../gcc/recog.cc:4365


More information about the Gcc-bugs mailing list