unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Paul Eggert <eggert@cs.ucla.edu>
To: Eli Zaretskii <eliz@gnu.org>
Cc: nljlistbox2@gmail.com, emacs-devel@gnu.org, nico@petton.fr
Subject: Re: Emacs 27.0.90 is out!
Date: Thu, 5 Mar 2020 18:18:28 -0800	[thread overview]
Message-ID: <81219522-2847-5585-c678-4b16376d47aa@cs.ucla.edu> (raw)
In-Reply-To: <831rq7wbhw.fsf@gnu.org>

On 3/4/20 10:40 PM, Eli Zaretskii wrote:

> I'm not yet sure which part(s) of the changeset directly shut up the
> "-Walloc-size-larger-than=N" warnings.  Is that the part that adds the
> calls to 'assume'?

Yes.

> If so, we already call eassume in many places; it
> won't be a problem to add a few more, and fix the warnings on the
> emacs-27 branch.

I'd rather not backport this stuff into the emacs-27 branch, since the 
eassume calls do not fix bugs and can change the code generated and 
therefore can inadvertently introduce bugs. People building on emacs-27 
can either live with the warnings, or use ordinary GCC options instead 
of unusual ones, or not enable warnings.

Pacifying GCC when Emacs is built with unusual options is a low-priority 
thing to do, as we can't feasibly pacify GCC's false alarms under every 
option combination (there are far too many combinations and pacifying 
GCC in every instance would cause make-work maintenance and complicate 
Emacs and wouldn't make Emacs more reliable). Instead, we should merely 
suggest to people to not enable GCC warnings when they are employing 
unusual GCC options.

> And what about a similar warning I reported in bug#39857?

That's a false alarm, and I suppose it's a bug in the particular GCC 
build that you used. I expect the simplest workaround is stick to the 
usual compiler options (i.e., avoid -Og), or to disable GCC warnings. 
For what it's worth I can't reproduce the problem on Fedora 31 x86 
(i.e., 32-bit) with GCC 9.2.1 20190827 (Red Hat 9.2.1-1), so perhaps you 
can work around the problem by using a newer GCC.



  reply	other threads:[~2020-03-06  2:18 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-03 12:09 Emacs 27.0.90 is out! Nicolas Petton
2020-03-03 13:40 ` N. Jackson
2020-03-03 16:09   ` Eli Zaretskii
2020-03-03 16:30     ` N. Jackson
2020-03-04 21:51   ` Paul Eggert
2020-03-05  6:40     ` Eli Zaretskii
2020-03-06  2:18       ` Paul Eggert [this message]
2020-03-04  3:21 ` Richard Stallman
2020-03-04  3:40   ` Eli Zaretskii
2020-03-05  8:12 ` Philippe Vaucher
2020-03-05 13:52 ` Pieter van Oostrum
2020-03-05 14:19   ` Noam Postavsky
2020-03-06 15:25     ` Pieter van Oostrum

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=81219522-2847-5585-c678-4b16376d47aa@cs.ucla.edu \
    --to=eggert@cs.ucla.edu \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=nico@petton.fr \
    --cc=nljlistbox2@gmail.com \
    /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).