From: Paul Eggert <eggert@cs.ucla.edu>
To: Daniel Colascione <dancol@dancol.org>,
Emacs development discussions <emacs-devel@gnu.org>
Subject: Re: INT_ADD_OVERFLOW broken?
Date: Sat, 21 Sep 2013 23:59:32 -0700 [thread overview]
Message-ID: <523E9554.20007@cs.ucla.edu> (raw)
In-Reply-To: <523E3C3E.4080003@dancol.org>
Daniel Colascione wrote:
> Is INT_ADD_OVERFLOW actually safe?
It's supposed to be, yes.
As I recall, -Wstrict-overflow and -Wtype-limits issue many false
alarms, for INT_ADD_OVERFLOW as well as for other things, so I don't
recommend their use when building GNU Emacs. That's why
--enable-gcc-warnings doesn't enable these options.
It's possible that you've found a bug in INT_ADD_OVERFLOW;
to check that it'd be helpful to have a self-contained example
so that the problem can be reproduced and understood.
prev parent reply other threads:[~2013-09-22 6:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-22 0:39 INT_ADD_OVERFLOW broken? Daniel Colascione
2013-09-22 6:59 ` 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=523E9554.20007@cs.ucla.edu \
--to=eggert@cs.ucla.edu \
--cc=dancol@dancol.org \
--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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.