unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Paul Eggert <eggert@cs.ucla.edu>
Cc: 11617@debbugs.gnu.org
Subject: bug#11617: Don't use 'register'; these days it's not needed.
Date: Sun, 03 Jun 2012 17:24:24 +0300	[thread overview]
Message-ID: <831ulwcw2v.fsf@gnu.org> (raw)
In-Reply-To: <4FCAFED3.4080008@cs.ucla.edu>

> Date: Sat, 02 Jun 2012 23:06:11 -0700
> From: Paul Eggert <eggert@cs.ucla.edu>
> 
> Attached is a patch to remove 'register' from the mainline
> Emacs source code.

FWIW, I see no compelling reason for this change, even after I've read
the explanations.  This keyword is a cue to the compiler, so it in
general conveys non-trivial information.  If today's compilers mostly
ignore that, it doesn't mean this will always be the state of affairs.
However, by removing this, we lose those cues forever.

I guess I won't be convinced without seeing at least some data about
the disadvantages, and not just a few extreme examples with some
particular versions of some specific compilers.

But this isn't my call, so perhaps you don't need to convince me.





  reply	other threads:[~2012-06-03 14:24 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-03  6:06 bug#11617: Don't use 'register'; these days it's not needed Paul Eggert
2012-06-03 14:24 ` Eli Zaretskii [this message]
2012-06-03 14:50   ` Chong Yidong
2012-06-03 15:09     ` Eli Zaretskii
2012-06-03 15:22 ` Stefan Monnier
2012-06-03 16:33   ` Paul Eggert
2012-06-04 13:06     ` Stefan Monnier
2012-06-04 14:40       ` Paul Eggert
2012-06-04 19:30         ` Stefan Monnier

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=831ulwcw2v.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=11617@debbugs.gnu.org \
    --cc=eggert@cs.ucla.edu \
    /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).