On 22/09/19 05:54, Richard Henderson wrote:
> +/*
> + * Forced inlining may be desired to encourage constant propagation
> + * of function parameters.  However, it can also make debugging harder,
> + * so disable it for a non-optimizing build.
> + */
> +#if defined(__OPTIMIZE__) && __has_attribute(always_inline)
> +#define QEMU_ALWAYS_INLINE  __attribute__((always_inline))

GCC doesn't have __has_attribute, does it?  I think you can just assume
that it exists and #ifdef __OPTIMIZE__.

Paolo

> +#else
> +#define QEMU_ALWAYS_INLINE


Reply via email to