------- Additional Comments From matz at suse dot de 2005-04-15 02:40 ------- We see this error in blender. I was able to reduce it quite a bit to this: struct IMG_Rect { virtual inline int getWidth() const; virtual inline bool isEmpty() const; virtual int getVisibility(int) const; }; inline int IMG_Rect::getWidth() const { return 1; } inline bool IMG_Rect::isEmpty() const { return (getWidth() == 0); } void A() { IMG_Rect i_bnds; if (i_bnds.isEmpty()) i_bnds.getWidth(); } void B() { IMG_Rect i_bnds; if (i_bnds.isEmpty()) i_bnds.getWidth(); }
-- What |Removed |Added ---------------------------------------------------------------------------- CC| |matz at suse dot de http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20991