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

            Bug ID: 88018
           Summary: [8/9 Regression] ICE in insert_insn_on_edge at
                    cfgrtl.c:1952 since r255066
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
                CC: mpolacek at gcc dot gnu.org
  Target Milestone: ---

Following is causing ICE:

$ g++ /home/marxin/Programming/gcc/gcc/testsuite/g++.dg/pr69667.C
-fsanitize=thread -fno-ipa-pure-const -O1 -fno-inline-functions-called-once
...
/home/marxin/Programming/gcc/gcc/testsuite/g++.dg/pr69667.C: In function ‘int
bracket_and_solve_root_01(F, T, bool, Tol, unsigned int, Policy) [with F =
D<long double, A>; T = long double; Tol = void (*)(); Policy = A]’:
/home/marxin/Programming/gcc/gcc/testsuite/g++.dg/pr69667.C:83:1: internal
compiler error: Segmentation fault
   83 | }
      | ^
0xf1d35f crash_signal
        /home/marxin/Programming/gcc/gcc/toplev.c:325
0x7ffff6bc310f ???
       
/usr/src/debug/glibc-2.27-6.1.x86_64/signal/../sysdeps/unix/sysv/linux/x86_64/sigaction.c:0
0xb1217c insert_insn_on_edge(rtx_def*, edge_def*)
        /home/marxin/Programming/gcc/gcc/cfgrtl.c:1952
0xb1526f fixup_abnormal_edges()
        /home/marxin/Programming/gcc/gcc/cfgrtl.c:3343
0xe8d2ad convert_regs
        /home/marxin/Programming/gcc/gcc/reg-stack.c:3260
0xe8d2ad reg_to_stack
        /home/marxin/Programming/gcc/gcc/reg-stack.c:3371
0xe8d2ad rest_of_handle_stack_regs
        /home/marxin/Programming/gcc/gcc/reg-stack.c:3426
0xe8d2ad execute
        /home/marxin/Programming/gcc/gcc/reg-stack.c:3457

Reply via email to