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]

Re: [Patch, Fortran] PR 46060: [F03] procedure pointer component referenced without argument list


On 10/19/2010 10:48 PM, Janus Weil wrote:
The attached version of the patch is free of regressions on
x86_64-unknown-linux-gnu. Ok for trunk?

OK. Thanks for the patch.


Tobias

PS What's actually your plan with regards to your allocatable scalars patch [1]? My impression was that only a small bit was missing for deallocate. [1] http://gcc.gnu.org/ml/fortran/2010-10/msg00161.html

2010-10-19 Janus Weil<janus@gcc.gnu.org>

	PR fortran/46060
	* match.h (gfc_matching_ptr_assignment): New global variable to indicate
	we're currently matching a (non-proc-)pointer assignment.
	* decl.c (match_pointer_init): Set it.
	* match.c (gfc_match_pointer_assignment): Ditto.
	* primary.c (matching_actual_arglist): New global variable to indicate
	we're currently matching an actual argument list.
	(gfc_match_actual_arglist): Set it.
	(gfc_match_varspec): Reject procedure pointer component calls with
	missing argument list.

2010-10-19 Janus Weil<janus@gcc.gnu.org>

	PR fortran/46060
	* gfortran.dg/proc_ptr_comp_25.f90: New.


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