https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65003
Bug ID: 65003 Summary: [5 Regression] -fsection-anchors ICE Product: gcc Version: 5.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: jakub at gcc dot gnu.org CC: hubicka at gcc dot gnu.org Target: armv7hl-linux-gnuaebi struct A { void operator= (A &); A (); }; struct B { A b; }; struct C { virtual bool foo (int &, bool) const; }; struct D : virtual C { bool foo (int &, bool) const; B e; }; struct F : D { F (int &, const int &, const A &); bool foo (int &, bool) const; }; bool D::foo (int &, bool) const {} F::F (int &, const int &, const A &) {} bool F::foo (int &, bool) const {} ICEs on armv7hl-linux-gnuaebi, with -O2 -fpic. I believe the bug has been introduced with r211045, but haven't verified it.