This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/35036] illegal E format descriptor produces wrong output



------- Comment #10 from burnus at gcc dot gnu dot org  2008-01-31 12:46 -------
(In reply to comment #9)
> Sun f95 gives:
>  Error 1078:  scale factor out of range
> ifort gives:
> ********

g95 and openf95 give the same result as ifort:
 ********

While NAG f95 follows sunf95 by giving the run-time error:
 Scale factor 0 out of range for d=0

This is for "write(*, '(E8.0)') 1e5".


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]