So, what about (crashes trunk and 4.8.3) :
class J
{
public:
J ();
virtual void m_fn1 (int &p1, int);
};
template <class TDATA> class D
{
public:
virtual void m_fn1 (TDATA &) const;
void m_fn2 ()
{
TDATA p;
m_fn1 (p);
}
};
class I : J
{
};
class K : J, public D<I>
{
};
struct F
{
K *operator->();
};
class N : public K
{
void m_fn1 (int &p1, int);
I mean;
void m_fn1 (I &) const {}
};
class L;
struct M : F
{
L *operator->();
};
class L : J
{
public:
F poseChange;
};
class G
{
G ();
};
M h;
G::G () try
{
N f;
f.m_fn2 ();
throw;
}
catch (int) {}
void fn1 () { h->poseChange->m_fn2 (); }
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1286343
Title:
mrpt triggers ICE on armf, powerpc, ppc64el at -O2 or higher
To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc/+bug/1286343/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs