[Bug ipa/91969] Compiling testsuite/g++.dg/ipa/pr85421.C with -fdump-ipa-inline ICEs

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Oct 22 10:59:00 GMT 2019


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

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
A reduced test-case:

$ cat ice.C
enum by {};
class A {
public:
  class B {
  public:
    virtual void m_fn2(by) = 0;
  };
  virtual int m_fn1();
  B *cf;
};
by a;
class C : A, A::B {
  void m_fn2(by);
};
void C::m_fn2(by) { cf->m_fn2(a); }


More information about the Gcc-bugs mailing list