[patch, libgfortran] PR25139 and PR25510
Jerry DeLisle
jvdelisle@verizon.net
Sat Dec 24 09:48:00 GMT 2005
:ADDPATCH fortran:
This patch includes the "simple" patch for 25139 and also adds two new error
types which are then used in list_read.c and transfer.c. A test case for 25139
is provided. I do not have a test case for the new error types. These errors
would likely only occur during testing of new code if we screw up.
I will rename backspace.f in testsuite to backspace_1.f at the proper time.
NIST tested, regression tested. OK for 4.2 and then 4.1 a bit later?
Regards,
Jerry
2005-12-24 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/25139
* io/unix.c (fd_truncate): Set set s->active to zero.
PR libgfortran/25510
* libgfortran.h: Add ERROR_INTERNAL and ERROR_INTERNAL_UNIT.
* runtime/error.c (translate_error): Add messages for new errors.
* io/list_read.c (next_char): Use new errors.
* io/transfer.c (next_record_r) (next_record_w): Use new errors.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: errors.diff
Type: text/x-patch
Size: 3426 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20051224/c9b59783/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: backspace_2.f
Type: text/x-fortran
Size: 511 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20051224/c9b59783/attachment-0001.bin>
More information about the Gcc-patches
mailing list