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; 3+ 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] 3+ messages in thread

* [Bug middle-end/21781] real.c incorrectly values zero with a large exponent
  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 ` pinskia at gcc dot gnu dot org
  2005-05-28 11:08 ` jsm28 at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-27 13:18 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c                           |middle-end


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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug middle-end/21781] real.c incorrectly values zero with a large exponent
  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
  1 sibling, 0 replies; 3+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2005-05-28 11:08 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
OtherBugsDependingO|                            |16620, 16989
              nThis|                            |


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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-05-28 10:47 UTC | newest]

Thread overview: 3+ 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

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).