[Bug tree-optimization/55823] [4.8 Regression] ice in inline_call, at ipa-inline-transform.c:270
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Dec 31 11:57:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55823
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2012-12-31
Component|c++ |tree-optimization
Known to work| |4.7.0
Ever Confirmed|0 |1
Known to fail| |4.8.0
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-12-31 11:57:15 UTC ---
Reduced testcase:
class wxPaintEvent { };
struct wxDCBase
{
wxDCBase ();
virtual int GetLayoutDirection() const{}
virtual void SetLayoutDirection(int){}
};
struct wxWindowDC : public wxDCBase {};
struct wxBufferedDC : public wxDCBase
{
void Init(wxDCBase*dc) {
InitCommon(dc);
}
void InitCommon(wxDCBase*dc) {
if (dc)
SetLayoutDirection(dc->GetLayoutDirection());
}
};
struct wxBufferedPaintDC : public wxBufferedDC {
wxBufferedPaintDC() {
Init(&m_paintdc);
}
wxWindowDC m_paintdc;
};
void OnPaint(wxPaintEvent & event) {
wxBufferedPaintDC dc;
}
More information about the Gcc-bugs
mailing list