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]

Re: inline functions not getting internal linkage in x86 without optimization


> 	More to the point, is there any way to generate something
> equivalent to GCC's "extern inline" available as a feature of the C
> Compiler when using G++? 

You mean,

extern inline void f(){}

int main()
{
  f();
} 

Works fine for me with egcs-2.91.42 (i.e. compiles and links, with and
without optimization). It also seems to have the semantics that C++
requires.

What is the feature of the C compiler that you want?

Martin


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