This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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]

Re: Failure reading infinity with list-directed format


Steve Kargl wrote:
On Sun, Jul 29, 2007 at 03:53:28PM +0100, Steve Edwards wrote:
Is this a bug/regression in gfortran?


It is neither a bug nor a regression. It appears you have discovered a compiler extension in Intel and Sun's compilers. Of course, these vendors may claim that +Infinity and +Inf are "literal constants", which satisfies Sec. 10.8 of the Fortran 95 standard.

g77 certainly didn't support this "extension," so it is not a "regression." Not
long ago, ifort didn't support it either, so I'm fairly certain it was introduced
in response to customer feature requests. In the gnu tradition, you could say
"patches welcome," subject to the usual hurdles of copyright assignment et al.



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