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 c++/15720] [3.5 Regression] function marked inline which is called directly isn't emitted


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-05-29 01:43 -------
Here is a simplified example:
struct QMacSavedFontInfo
{
   void init(int*);
    QMacSavedFontInfo() { int w; init(&w); }
};
inline
void QMacSavedFontInfo::init(int*w){}
main () {
  QMacSavedFontInfo foo;
  return (int) &foo;
}

-- 


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


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