https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79557
Bug ID: 79557 Summary: ICE in ipa_modify_formal_parameters, at ipa-prop.c:3979 Product: gcc Version: 7.0.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: gerhard.steinmetz.fort...@t-online.de Target Milestone: --- Version 7 applied to ./gcc/testsuite/g++.dg/cpp1z/inh-ctor28.C (on x86_64 GNU/Linux) at -Os, -O2 or higher : $ cat inh-ctor28.C struct V { V(int); }; struct W : virtual V { using V::V; }; struct X : virtual W, virtual V { using W::W; }; X x(0); $ gcc-7-20170212 -O2 -c inh-ctor28.C inh-ctor28.C: In constructor 'W::W(int) [inherited from V]': inh-ctor28.C:4:7: internal compiler error: in ipa_modify_formal_parameters, at ipa-prop.c:3979 X x(0); ^ 0xc073ce ipa_modify_formal_parameters(tree_node*, vec<ipa_parm_adjustment, va_heap, vl_ptr>) ../../gcc/ipa-prop.c:3979 0xed1b69 modify_function ../../gcc/tree-sra.c:5179 0xedbe96 ipa_early_sra ../../gcc/tree-sra.c:5410 0xedbe96 execute ../../gcc/tree-sra.c:5457