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

            Bug ID: 91350
           Summary: ICE in gimple_call_arg, at gimple.h:3190 during GIMPLE
                    pass: cddce with options -O1 -fipa-sra
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: zeccav at gmail dot com
  Target Milestone: ---

Created attachment 46670
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46670&action=edit
Test case from chromium build

Compiling the attached code with options -O1 -fipa-sra I get the following:

g++ -S -O1 -fipa-sra  gccerr78.C
during GIMPLE pass: cddce
p.cpp: In destructor ‘virtual Ice::Inst::~Inst()’:
p.cpp:21:1: internal compiler error: in gimple_call_arg, at gimple.h:3190
0x7b0c53 gimple_call_arg
        ../../gcc/gcc/gimple.h:3190
0x7b0c53 gimple_call_arg
        ../../gcc/gcc/gimple.h:3198
0x7b0c53 propagate_necessity
        ../../gcc/gcc/tree-ssa-dce.c:813
0x7b0c53 perform_tree_ssa_dce
        ../../gcc/gcc/tree-ssa-dce.c:1663
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.

Reply via email to