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

            Bug ID: 79464
           Summary: new ice in ipa_modify_formal_ parameters
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

I tried to compile gcc/testsuite/g++.dg/cpp1z/inh-ctor23.C
with flag -O2 and recent gcc and it said this:

./g++.dg/cpp1z/inh-ctor23.C:10:7: internal compiler error: in
ipa_modify_formal_parameters, at ipa-prop.c:3979
 Z z(0); // OK: initialization of Y does not invoke default constructor of X
       ^
0xc7c97b ipa_modify_formal_parameters(tree_node*, vec<ipa_parm_adjustment,
va_heap, vl_ptr>)
        ../../trunk/gcc/ipa-prop.c:3979
0xfa6f19 modify_function
        ../../trunk/gcc/tree-sra.c:5179
0xfb1acd ipa_early_sra
        ../../trunk/gcc/tree-sra.c:5410
0xfb1acd execute
        ../../trunk/gcc/tree-sra.c:5457

This bug seems to have appeared between gcc revision 245132
and 245341.

Reply via email to