[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] iotest 013 failure under clang -fsanitize=undefined
From: |
Markus Armbruster |
Subject: |
Re: [Qemu-devel] iotest 013 failure under clang -fsanitize=undefined |
Date: |
Wed, 03 Feb 2016 08:21:56 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Paolo Bonzini <address@hidden> writes:
> On 02/02/2016 22:59, Eric Blake wrote:
>> I'd be okay with this patch, if you want to make it a formal
>> submission, and if no one else chimes in with any opinion other
>> than disgust at clang's shenanigans.
>
> I'm not okay with the patch. What's wrong with
> -fno-sanitize=float-divide-by-zero? GCC accepts it, the only
> difference is in having a more useful default.
Agreed. Do not complicate the code to placate some tool's silliness
when you can tell the tool to stop being silly instead.