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

            Bug ID: 112328
           Summary: ice in rdg_vertex_for_stmt, at
                    tree-loop-distribution.cc:418
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

Created attachment 56481
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56481&action=edit
C source code

For the attached C code, compiled with recent gcc, does this:

foundBugs $ ../results/bin/gcc -c -w bug973.c
foundBugs $ ../results/bin/gcc -c -w -g bug973.c
foundBugs $ ../results/bin/gcc -c -w -g -O1 bug973.c
foundBugs $ ../results/bin/gcc -c -w -g -O2 bug973.c
during GIMPLE pass: ldist
rcolor.r: In function ‘palsetup’:
rcolor.r:570:18: internal compiler error: in rdg_vertex_for_stmt, at
tree-loop-distribution.cc:418
0xf6291d rdg_vertex_for_stmt(graph*, gimple*)
        ../../trunk.year/gcc/tree-loop-distribution.cc:418
0xf6291d create_rdg_edges_for_scalar(graph*, tree_node*, int)
        ../../trunk.year/gcc/tree-loop-distribution.cc:434

The bug first seems to occur sometime between g:8c40b72036c967fb
and g:9119b008b4195e06.

I will have a go at a reduction.

Reply via email to