public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/33296]  New: nearest(huge(1.0),1.0) gives an error
@ 2007-09-04  5:45 dominiq at lps dot ens dot fr
  2007-09-04 10:27 ` [Bug fortran/33296] " fxcoudert at gcc dot gnu dot org
                   ` (16 more replies)
  0 siblings, 17 replies; 18+ messages in thread
From: dominiq at lps dot ens dot fr @ 2007-09-04  5:45 UTC (permalink / raw)
  To: gcc-bugs

The following code:

real x
x = nearest(huge(1.0),1.0)
end

gives

x = nearest(huge(1.0),1.0)
           1
Error: Result of NEAREST overflows its kind at (1)

instead of setting x to +Inf. This bug is also present in GNU F95 version
4.2.1.


-- 
           Summary: nearest(huge(1.0),1.0) gives an error
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dominiq at lps dot ens dot fr
GCC target triplet: powerpc-apple-darwin8


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


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

end of thread, other threads:[~2008-03-15  3:24 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-04  5:45 [Bug fortran/33296] New: nearest(huge(1.0),1.0) gives an error dominiq at lps dot ens dot fr
2007-09-04 10:27 ` [Bug fortran/33296] " fxcoudert at gcc dot gnu dot org
2007-09-04 12:05 ` dominiq at lps dot ens dot fr
2007-09-04 12:34 ` fxcoudert at gcc dot gnu dot org
2007-09-04 12:34 ` fxcoudert at gcc dot gnu dot org
2007-09-07  8:46 ` dominiq at lps dot ens dot fr
2007-09-07 16:12 ` kargl at gcc dot gnu dot org
2007-09-11  8:47 ` dominiq at lps dot ens dot fr
2007-09-11  9:55 ` fxcoudert at gcc dot gnu dot org
2007-09-11 10:49 ` dominiq at lps dot ens dot fr
2008-02-19 16:00 ` [Bug fortran/33296] [4.3/4.4 regression] " fxcoudert at gcc dot gnu dot org
2008-03-06 18:24 ` burnus at gcc dot gnu dot org
2008-03-12  4:23 ` jvdelisle at gcc dot gnu dot org
2008-03-12  4:44 ` jvdelisle at gcc dot gnu dot org
2008-03-12  8:04 ` dominiq at lps dot ens dot fr
2008-03-12 14:23 ` jvdelisle at gcc dot gnu dot org
2008-03-15  3:22 ` jvdelisle at gcc dot gnu dot org
2008-03-15  3:24 ` jvdelisle 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).