This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/58530] [4.9 Regression] crash in get_combined_adhoc_loc


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58530

Markus Trippelsdorf <markus at trippelsdorf dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |markus at trippelsdorf dot de

--- Comment #3 from Markus Trippelsdorf <markus at trippelsdorf dot de> ---
Reduced:

class B {
public:
  B(...);
};
class C {
  virtual C *m_fn1() const;
};
class D {
public:
  virtual ~D();
};
class G : D, public C {};
class F : G {
  F *m_fn1() const;
};
C *b;
F *F::m_fn1() const {
  if (dynamic_cast<const F *>(b))
    B();
}


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]