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

            Bug ID: 88030
           Summary: ICE in calc_dfs_tree, at dominance.c:458
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
  Target Milestone: ---

Following is causing an ICE:

$ gcc gcc/testsuite/gcc.dg/vect/no-tree-sra-bb-slp-pr50730.c
-fnon-call-exceptions -fsanitize=thread -fexceptions
during GIMPLE pass: cplxlower0
gcc/testsuite/gcc.dg/vect/no-tree-sra-bb-slp-pr50730.c: In function ‘sum’:
gcc/testsuite/gcc.dg/vect/no-tree-sra-bb-slp-pr50730.c:9:3: internal compiler
error: in calc_dfs_tree, at dominance.c:458
    9 | A sum(A a,A b)
      |   ^~~
0x614cd5 calc_dfs_tree
        /home/marxin/Programming/gcc/gcc/dominance.c:458
0x954175 calculate_dominance_info(cdi_direction)
        /home/marxin/Programming/gcc/gcc/dominance.c:734
0xd96ea3 update_ssa(unsigned int)
        /home/marxin/Programming/gcc/gcc/tree-into-ssa.c:3356
0xc2a0f7 execute_function_todo
        /home/marxin/Programming/gcc/gcc/passes.c:1910
0xc2af6e execute_todo
        /home/marxin/Programming/gcc/gcc/passes.c:1996

Reply via email to