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]

[PATCH,fortran]: fix PR 32804, update PR 32801


hi all,

the attached patch is primarily for PR 32804, which deals with argument checking for C_LOC. gfortran now rejects assumed-shape args to C_LOC. a bug in checking character args to C_LOC was also fixed.

the patch also modifies the one-line patch for symbol.c in PR 32801. i realized i put in an unnecessary conditional in the call to generate_isocbinding_symbol. it is now removed. i apologize for making this obvious mistake the first time.

bootstrapped and regtested on x86 and x86_64 linux with no new failures.

Chris

:ADDPATCH fortran:

2007-07-19 Christopher D. Rickett <crickett@lanl.gov>

	PR fortran/32801
	* symbol.c (generate_isocbinding_symbol): Remove unnecessary
	conditional.

	PR fortran/32804
	* resolve.c (gfc_iso_c_func_interface): Reject assumed-shape and
	deferred-shape arrays as args to C_LOC.  Fix bug in testing
	character args to C_LOC.

2007-07-19 Christopher D. Rickett <crickett@lanl.gov>

	PR fortran/32804
	* gfortran.dg/pr32804_1.f03: New test case.
	* gfortran.dg/pr32804_2.f03: Ditto.


Attachment: icb_pr32801_pr32804.diff
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]