public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/21781] New: real.c incorrectly values zero with a large exponent
@ 2005-05-27 12:36 neil at gcc dot gnu dot org
  2005-05-27 13:18 ` [Bug middle-end/21781] " pinskia at gcc dot gnu dot org
  2005-05-28 11:08 ` jsm28 at gcc dot gnu dot org
  0 siblings, 2 replies; 6+ messages in thread
From: neil at gcc dot gnu dot org @ 2005-05-27 12:36 UTC (permalink / raw)
  To: gcc-bugs

The following snippet, if compiled with -Wall, complains about a missing return
statement, indicating GCC is erroneously folding the comparison to false.

int foo(void) { if (.0e200000000 == 0 ) return 1; }

-- 
           Summary: real.c incorrectly values zero with a large exponent
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: neil at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21781


^ permalink raw reply	[flat|nested] 6+ messages in thread
[parent not found: <bug-21781-6@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2006-03-16 18:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-27 12:36 [Bug c/21781] New: real.c incorrectly values zero with a large exponent neil at gcc dot gnu dot org
2005-05-27 13:18 ` [Bug middle-end/21781] " pinskia at gcc dot gnu dot org
2005-05-28 11:08 ` jsm28 at gcc dot gnu dot org
     [not found] <bug-21781-6@http.gcc.gnu.org/bugzilla/>
2005-10-25 19:49 ` pinskia at gcc dot gnu dot org
2006-03-16 16:34 ` sayle at gcc dot gnu dot org
2006-03-16 18:27 ` 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).