public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: fortran/4722: f77 0.5.26 handles EOF in scratch files incorrectly, f77 0.5.25 is OK
@ 2001-10-29  7:10 toon
  0 siblings, 0 replies; 2+ messages in thread
From: toon @ 2001-10-29  7:10 UTC (permalink / raw)
  To: arends, gcc-bugs, gcc-prs, merazzi, nobody

Synopsis: f77 0.5.26 handles EOF in scratch files incorrectly, f77 0.5.25 is OK

State-Changed-From-To: open->closed
State-Changed-By: toon
State-Changed-When: Mon Oct 29 07:10:08 2001
State-Changed-Why:
    Fixed in 3.0.x - GCC-2.96 is not an official release.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=4722&database=gcc


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

* fortran/4722: f77 0.5.26 handles EOF in scratch files incorrectly, f77 0.5.25 is OK
@ 2001-10-28 12:56 arends
  0 siblings, 0 replies; 2+ messages in thread
From: arends @ 2001-10-28 12:56 UTC (permalink / raw)
  To: gcc-gnats; +Cc: merazzi

>Number:         4722
>Category:       fortran
>Synopsis:       f77 0.5.26 handles EOF in scratch files incorrectly, f77 0.5.25 is OK
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Oct 28 12:56:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Paul Arendsen
>Release:        unknown-1.0
>Organization:
>Environment:
Linux IA32 (RedHat 7.1)
>Description:
f77 0.5.26 is used in Redhat 7.1 incorrectly handles scratch 
files, while it is being treated OK using f77 0.5.25 as in 
SuSe 7.2. The incorrect handling occurs when the end of file
(EOF) is reached.

Compile attached file " g77 tt.f -o tt.x"
run tt.x and and should get
1
2
3
end of file

The 0.5.26 version gives
1
2
3
error in file


Hence incorrect handling when the end of file
has been reached. For me developing Finite Element
software (mostly Fortran and some C) this is 
quite unpleasant.
>How-To-Repeat:
Compile and run attached file one should get
1
2
3
end of file
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="tt.f"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="tt.f"

YzIzNDU2NwogICAgICBwcm9ncmFtIHR0CiAgICAgIGludGVnZXIgaQogCiAgICAgIG9wZW4gKDEs
YWNjZXNzPSdzZXF1ZW50aWFsJyxmb3JtPSd1bmZvcm1hdHRlZCcsCiAgICAgKiAgICAgICBzdGF0
dXM9J3NjcmF0Y2gnKQogCiAgICAgIGRvIGk9MSwzCiAgICAgIHdyaXRlKDEpIGkKICAgICAgZW5k
ZG8KICAgICAgcmV3aW5kICgxKQogCjEwICAgIHJlYWQoMSxlcnI9OTAwLGVuZD04MDApIGkKNTAg
ICAgZm9ybWF0KGkzKQogICAgICBwcmludCosaQogICAgICBnb3RvIDEwCiAKODAwICAgY29udGlu
dWUKICAgICAgcHJpbnQqLCJlbmQgb2YgZmlsZSIKICAgICAgZ290byAxMDAwCiAKOTAwICAgY29u
dGludWUKICAgICAgcHJpbnQqLCJlcnJvciBpbiBmaWxlIgogCjEwMDAgIGNvbnRpbnVlCiAgICAg
IGVuZAo=


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

end of thread, other threads:[~2001-10-29  7:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-29  7:10 fortran/4722: f77 0.5.26 handles EOF in scratch files incorrectly, f77 0.5.25 is OK toon
  -- strict thread matches above, loose matches on Subject: below --
2001-10-28 12:56 arends

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).