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] | |
I've just run across the effects of this in the 20060729 snapshot, where previously working code got runtime errors. It seems that Jerry's patch makes it an error to attempt to CLOSE a unit which has not been OPENED, or "associated". My reading of the f77 standard and a late draft of the 2003 standard show this to be explicitly permitted. I couldn't easily access the F90 or F95 standards.
As a user whose (possibly misguided) program stopped working, I'll also confess to some brief irritation at the error text, "Can't find specified UNIT in CLOSE". In essence, the runtime knows I want to do a CLOSE on a specific UNIT, and it
has a problem with that, but it won't tell me which UNIT. I'm afraid that looking at error.c didn't give me a clearer idea of how a more useful error message could have been given within the existing program structure.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |