public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/39606] New: expression statements lose excess precision
@ 2009-04-01 0:36 jsm28 at gcc dot gnu dot org
2009-04-22 23:33 ` [Bug c/39606] " pinskia at gcc dot gnu dot org
0 siblings, 1 reply; 2+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2009-04-01 0:36 UTC (permalink / raw)
To: gcc-bugs
As I noted in <http://gcc.gnu.org/ml/gcc-patches/2008-11/msg00105.html>:
excess precision is removed as part of evaluating an expression statement.
There are two minor problems associated with this:
* If in future GCC preserves such conversions when needed for floating-point
exceptions, the conversions (that are not part of the C99 semantics for
excess precision) will cause spurious exceptions.
* Statement expressions have no excess precision; it would be more natural
for them to have whatever excess precision their last contained expressions
have.
--
Summary: expression statements lose excess precision
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jsm28 at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39606
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug c/39606] expression statements lose excess precision
2009-04-01 0:36 [Bug c/39606] New: expression statements lose excess precision jsm28 at gcc dot gnu dot org
@ 2009-04-22 23:33 ` pinskia at gcc dot gnu dot org
0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-04-22 23:33 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pinskia at gcc dot gnu dot org 2009-04-22 23:33 -------
Confirmed.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2009-04-22 23:33:15
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39606
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-04-22 23:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-01 0:36 [Bug c/39606] New: expression statements lose excess precision jsm28 at gcc dot gnu dot org
2009-04-22 23:33 ` [Bug c/39606] " pinskia at gcc dot gnu dot org
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).