[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] qemu/compiler: Wrap __attribute__((flatten)) in
From: |
Richard Henderson |
Subject: |
Re: [Qemu-devel] [PATCH] qemu/compiler: Wrap __attribute__((flatten)) in a macro |
Date: |
Wed, 26 Sep 2018 09:12:40 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 |
On 9/26/18 8:59 AM, Thomas Huth wrote:
> Older versions of Clang (before 3.5) and GCC (before 4.1) do not
> support the "__attribute__((flatten))" yet. Since at least 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>
> ---
> fpu/softfloat.c | 30 +++++++++++++++---------------
> include/qemu/compiler.h | 15 +++++++++++++++
> 2 files changed, 30 insertions(+), 15 deletions(-)
Reviewed-by: Richard Henderson <address@hidden>
r~