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++/17256] undefined but used static or inline functions should be diagnosed


------- Additional Comments From geoffk at geoffk dot org  2004-09-01 00:51 -------
Subject: Re:  New: undefined but used static or inline
    functions should be diagnosed


The code that does this in the case where an inline function is truly used
lives in cp/decl2.c, just under the comment
  /* All used inline functions must have a definition at this point.  */

However, it checks TREE_USED, which may not be the right thing.


-- 


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


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