[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: INLINE is disabled

From: Andreas Schwab
Subject: Re: INLINE is disabled
Date: Sat, 20 Nov 2010 10:37:23 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2.90 (gnu/linux)

Dan Nicolaescu <address@hidden> writes:

> From configure.in:
> /* If using GNU, then support inline function declarations.  */
> /* Don't try to switch on inline handling as detected by AC_C_INLINE
>    generally, because even if non-gcc compilers accept `inline', they
>    may reject `extern inline'.  */
> #if defined (__GNUC__) && defined (OPTIMIZE)
> #define INLINE __inline__
> #else
> #define INLINE
> #endif
> OPTIMIZE is never defined, so we always use #else...

Most uses are on static functions, which are eligible for inlining


Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

reply via email to

[Prev in Thread] Current Thread [Next in Thread]