[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.)
- __builtin_assume warnings, Mattias Engdegård, 2020/08/12
- Re: __builtin_assume warnings, Paul Eggert, 2020/08/15
- Re: __builtin_assume warnings,
Mattias Engdegård <=
- Re: __builtin_assume warnings, Mattias Engdegård, 2020/08/17
- Re: __builtin_assume warnings, Paul Eggert, 2020/08/17
- Re: __builtin_assume warnings, Mattias Engdegård, 2020/08/18
- Re: __builtin_assume warnings, Paul Eggert, 2020/08/18
- Re: __builtin_assume warnings, Mattias Engdegård, 2020/08/19