From: "Mattias Engdegård" <mattiase@acm.org>
To: Paul Eggert <eggert@cs.ucla.edu>
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: Re: __builtin_assume warnings
Date: Sun, 16 Aug 2020 10:23:20 +0200 [thread overview]
Message-ID: <A406CDA0-1E8E-4DD1-A337-21BC32313086@acm.org> (raw)
In-Reply-To: <8e65e2a9-1058-3084-7f8d-8439fa908fb3@cs.ucla.edu>
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.)
next prev parent reply other threads:[~2020-08-16 8:23 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-12 9:38 __builtin_assume warnings Mattias Engdegård
2020-08-15 2:32 ` Paul Eggert
2020-08-16 8:23 ` Mattias Engdegård [this message]
2020-08-17 14:05 ` Mattias Engdegård
2020-08-17 22:11 ` Paul Eggert
2020-08-18 7:11 ` Mattias Engdegård
2020-08-18 22:53 ` Paul Eggert
2020-08-19 8:01 ` Mattias Engdegård
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=A406CDA0-1E8E-4DD1-A337-21BC32313086@acm.org \
--to=mattiase@acm.org \
--cc=eggert@cs.ucla.edu \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).