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>,  Stefan Monnier <monnier@iro.umontreal.ca>
Cc: schwab@suse.de, dmantipov@yandex.ru, emacs-devel@gnu.org
Subject: Re: Warnings/errors related to possibly clobbered variables
Date: Tue, 13 Jan 2015 13:31:55 -0800	[thread overview]
Message-ID: <54B58ECB.7010403@cs.ucla.edu> (raw)
In-Reply-To: <83egqy4f36.fsf@gnu.org>

On 01/13/2015 12:10 PM, Eli Zaretskii wrote:
> The compiler is rarely wrong in these cases

But it does appear to be wrong in this case.  That's why I filed a 
compiler bug, and the GCC maintainers seem to agree that it's a bug.

Long ago when I ran into this set of GCC bugs, I shrugged and added 
'volatile's to pacify the buggy GCCs.  Stefan removed some of them as 
part of some of his other fixes, but I suspect that a few 'volatile's 
are not necessary even today (except perhaps to pacify the GCC bug).

I say "set of GCC bugs" because I suspect there are more than one, some 
of which have been fixed, and some of which remain.




      parent reply	other threads:[~2015-01-13 21:31 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-13 11:32 Warnings/errors related to possibly clobbered variables Dmitry Antipov
2015-01-13 11:51 ` Andreas Schwab
2015-01-13 12:12   ` Dmitry Antipov
2015-01-13 16:21     ` Eli Zaretskii
2015-01-13 17:07       ` Paul Eggert
2015-01-13 19:43       ` Stefan Monnier
2015-01-13 20:10         ` Eli Zaretskii
2015-01-13 20:55           ` Stefan Monnier
2015-01-13 21:31           ` Paul Eggert [this message]

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=54B58ECB.7010403@cs.ucla.edu \
    --to=eggert@cs.ucla.edu \
    --cc=dmantipov@yandex.ru \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=schwab@suse.de \
    /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).