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

            Bug ID: 106862
           Summary: ice in compute_control_dep_chain, at
                    gimple-predicate-analysis.cc:1105
           Product: gcc
           Version: 12.0
            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 53545
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53545&action=edit
gzipped C++ source code

For the attached C++ code, recent g++ does this:

$ /home/dcb/gcc/results/bin/g++ -c -g -O1 -Wall -fpermissive bug842.cc
during GIMPLE pass: uninit
In file included from VSLRead.C:113:
y.tab.c: In function ‘int VSLLib_parse()’:
y.tab.c:1497:1: internal compiler error: in compute_control_dep_chain, at
gimple-predicate-analysis.cc:1105
0x1df8e69 compute_control_dep_chain(basic_block_def*, basic_block_def const*,
vec<edge_def*, va_heap, vl_ptr>*, uns
igned int*, vec<edge_def*, va_heap, vl_ptr>&, unsigned int*, unsigned int,
unsigned int)
        ../../trunk.git/gcc/gimple-predicate-analysis.cc:1105
0x1df8ae7 compute_control_dep_chain(basic_block_def*, basic_block_def const*,
vec<edge_def*, va_heap, vl_ptr>*, uns
igned int*, vec<edge_def*, va_heap, vl_ptr>&, unsigned int*, unsigned int,
unsigned int)
        ../../trunk.git/gcc/gimple-predicate-analysis.cc:1086
0x1df8ae7 compute_control_dep_chain(basic_block_def*, basic_block_def const*,
vec<edge_def*, va_heap, vl_ptr>*, uns
igned int*, vec<edge_def*, va_heap, vl_ptr>&, unsigned int*, unsigned int,
unsigned int)
        ../../trunk.git/gcc/gimple-predicate-analysis.cc:1086
0x1df7895 compute_control_dep_chain(basic_block_def*, basic_block_def const*,
vec<edge_def*, va_heap, vl_ptr>*, uns
igned int*, unsigned int)
        ../../trunk.git/gcc/gimple-predicate-analysis.cc:1120

The bug first seems to occur sometime between git hash 5e070cf4bd085e10,
from yesterday, and d6582c662ca0da05, from today.

Reply via email to