re PR fortran/31201 (Too large unit number generates wrong code)
authorJerry DeLisle <jvdelisle@gcc.gnu.org>
Sun, 6 May 2007 22:28:31 +0000 (22:28 +0000)
committerJerry DeLisle <jvdelisle@gcc.gnu.org>
Sun, 6 May 2007 22:28:31 +0000 (22:28 +0000)
commitcb13c28858b9c5c243241121206578b5f9f2827c
treeda33f84dfec782004c14205e386d8a57f79aecc9
parent982533a5b24488660e53ae55cfb4e036d84d31d8
re PR fortran/31201 (Too large unit number generates wrong code)

2007-05-06  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libfortran/31201
* runtime/error.c (runtime_error_at): New function.
(generate_error): Export this function.
* gfortran.map: Add _gfortran_generate_error and
_gfortran_runtime_error_at.
* libgfortran.h: Add comment to reference error codes in front end.
(library_start): Locate prototype with library_end macro and add
a new comment.  Add prototype for runtime_error_at. Export prototype for
generate_error.
* io/lock.c (library_start): Fix check for error condition.
* io/transfer.c (data_transfer_init): Add library check.

From-SVN: r124479
libgfortran/ChangeLog
libgfortran/gfortran.map
libgfortran/io/lock.c
libgfortran/io/transfer.c
libgfortran/libgfortran.h
libgfortran/runtime/error.c