Summary: | f77 reads one field into two variables in list directed i/o | ||
---|---|---|---|
Product: | gcc | Reporter: | William Daffer <William.Daffer> |
Component: | fortran | Assignee: | Not yet assigned to anyone <unassigned> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | gcc-bugs |
Priority: | P3 | ||
Version: | 3.4.6 | ||
Target Milestone: | --- | ||
Host: | Target: | ||
Build: | Known to work: | ||
Known to fail: | Last reconfirmed: |
Description
William Daffer
2007-08-30 17:18:02 UTC
I tried you example with g77 and it shows "No Error". However, using all other compilers I have (ifort, sunf95, openf95, g95, gfortran, NAG f95) it shows "Error!". ... Ok, after re-reading your bug report, I see that you report a bug against g77 and not against gfortran (which is not affected). g77 was part of GCC 3.4.x and is no longer supported. gfortran is part of GCC since 4.0.0, supports Fortran 90/95 (and thus also FORTRAN 77); it also supports Cray pointers and other legacy extensions and it should support 99% of the extensions of g77. Plus it has better diagnostic capabilities. You should be able to get gfortran binaries (please use gfortran 4.1.x or later) from your vendor (RedHat) or from: http://gcc.gnu.org/wiki/GFortranBinaries#GNU/Linux Closed as WONTFIX (with regards to g77), I could have also used WORKSFORME as gfortran behaves properly. Please use the fortran<At>gcc.gnu.org mailing list if you have further questions. Subject: Re: f77 reads one field into two variables in list directed i/o On Thu, 2007-08-30 at 18:26 +0000, burnus at gcc dot gnu dot org wrote: > > ------- Comment #1 from burnus at gcc dot gnu dot org 2007-08-30 18:26 ------- > I tried you example with g77 and it shows "No Error". However, using all other > compilers I have (ifort, sunf95, openf95, g95, gfortran, NAG f95) it shows > "Error!". Yes, that's what happened when we tried lahey and nag. > > ... > > Ok, after re-reading your bug report, I see that you report a bug against g77 > and not against gfortran (which is not affected). > > g77 was part of GCC 3.4.x and is no longer supported. > Okay. > gfortran is part of GCC since 4.0.0, supports Fortran 90/95 (and thus also > FORTRAN 77); it also supports Cray pointers and other legacy extensions and it > should support 99% of the extensions of g77. Plus it has better diagnostic > capabilities. Okay. I'll see whether we can use that. thanks for the quick response! William > > You should be able to get gfortran binaries (please use gfortran 4.1.x or > later) from your vendor (RedHat) or from: > http://gcc.gnu.org/wiki/GFortranBinaries#GNU/Linux > > Closed as WONTFIX (with regards to g77), I could have also used WORKSFORME as > gfortran behaves properly. > > Please use the fortran<At>gcc.gnu.org mailing list if you have further > questions. > > |