[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2] qemu/compiler: Wrap __attribute__((flatten))
From: |
Richard Henderson |
Subject: |
Re: [Qemu-devel] [PATCH v2] qemu/compiler: Wrap __attribute__((flatten)) in a macro |
Date: |
Thu, 27 Sep 2018 14:19:19 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 |
On 9/26/18 11:11 PM, Thomas Huth wrote:
> Older versions of Clang (before 3.5) and GCC (before 4.1) do not
> support the "__attribute__((flatten))" yet. We don't care about
> such old versions of GCC anymore, but since Clang 3.4 is still
> used in EPEL for RHEL7 / CentOS 7, we should not use this attribute
> directly but with a wrapper macro instead.
>
> Signed-off-by: Thomas Huth <address@hidden>
> ---
> v2: Ignore older versions of GCC since we do not support them anymore
Reviewed-by: Richard Henderson <address@hidden>
r~