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

            Bug ID: 65035
           Summary: [5 Regression] ICE (segfault) on arm-linux-gnueabihf
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: doko at gcc dot gnu.org

seen with 20150205 on arm-linux-gnueabihf, configured with --with-arch=armv7-a
--with-fpu=vfpv3-d16 --with-float=hard --with-mode=thumb

$ g++ -c -fPIC -finline-functions -O3 if_algo.ii 
if_algo.ii: In constructor 'D::D(int&, const A&, const A&, const A&, const A&,
const A&)':
if_algo.ii:8:7: internal compiler error: Segmentation fault
 class C : virtual B {
       ^
Please submit a full bug report,
with preprocessed source if appropriate.

$ cat if_algo.ii
class A {
public:
  A();
};
class B {
  virtual bool m_fn1(int &, bool) const;
};
class C : virtual B {
  bool m_fn1(int &, bool) const;
  A e;
};
class D : C {
  D(int &, const A &, const A &, const A &, const A &, const A &);
  bool m_fn1(int &, bool) const;
};
bool C::m_fn1(int &, bool) const {}
D::D(int &, const A &, const A &, const A &, const A &, const A &) {}
bool D::m_fn1(int &, bool) const {}

Reply via email to