[Top][All Lists]

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

Re: __builtin_assume warnings

From: Mattias Engdegård
Subject: Re: __builtin_assume warnings
Date: Sun, 16 Aug 2020 10:23:20 +0200

15 aug. 2020 kl. 04.32 skrev Paul Eggert <eggert@cs.ucla.edu>:
> On 8/12/20 2:38 AM, Mattias Engdegård wrote:
>> ../../emacs/src/lisp.h:1812:12: warning: the argument to '__builtin_assume' 
>> has
>>       side effects that will be discarded [-Wassume]
>>   eassume (0 <= i && i < bool_vector_size (a));
> Thanks for mentioning that. I installed the attached, which should pacify 
> clang there.

Much better, thank you! (For the record, I believe it applies to any Clang 
version with that builtin and warning, not just the Apple 11 version.)

reply via email to

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