This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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] |
The first diff was posted here http://gcc.gnu.org/ml/fortran/2005-05/msg00064.html I attached a new diff and a testcase. This patch fixes PR fortran/21375. The problem is that gfortran does not properly handle the STAT= feature for deallocate. Bootstrapped and regtested on i386-*-freebsd for mainline? Ok for mainline? Ok for 4.0 after regression testing? 2005-06-04 Steven G. Kargl <kargls@comcast.net> PR fortran/21375 * trans-array.c (gfc_array_deallocate): pstat is new argument (gfc_array_allocate): update gfc_array_deallocate() call. (gfc_trans_deferred_array): ditto. * trans-array.h: update gfc_array_deallocate() prototype. * trans-decl.c (gfc_build_builtin_function_decls): update declaration * trans-stmt.c (gfc_trans_deallocate): Implement STAT= feature. 2005-06-04 Steven G. Kargl <kargls@comcast.net> PR fortran/21375 * gfortran.dg/pr21375.f90: New test. -- Steve
Attachment:
pr21375.f90
Description: Text document
Attachment:
pr21375.diff
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |