Re: How should __attribute__ ((gnu_inline)) behave?

2007-02-14 Thread Jakub Jelinek
On Tue, Feb 13, 2007 at 06:21:41PM -0800, Ian Lance Taylor wrote: Should __attribute__ ((gnu_inline)) be treated the same as a gnu89 extern inline definition? Or should the extern part be optional? That is, should there be a difference between these two definitions? extern __attribute__

How should __attribute__ ((gnu_inline)) behave?

2007-02-13 Thread Ian Lance Taylor
Should __attribute__ ((gnu_inline)) be treated the same as a gnu89 extern inline definition? Or should the extern part be optional? That is, should there be a difference between these two definitions? extern __attribute__ ((gnu_inline)) inline int foo () { return 0; } __attribute__