/* PR ipa/98075 */ /* { dg-do compile } */ /* { dg-options "-O2 -fno-inline" } */ template class xg { public: BS * fw () { return static_cast (operator new (sizeof (BS))); } }; class zp : xg { public: __attribute__ ((always_inline)) zp () { hy = xg::fw (); } private: int *hy; }; void e5 () { zp ix; }