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]

fix PR 25045, missing checks on optional dim


Currently regtesting on trunk.

OK for trunk (and, after a few days, for 4.1) if this passes?

	Thomas

2006-02-06  Thomas Koenig  <Thomas.Koenig@online.de>

	PR fortran/25045
	* check.c (dim_check):  Perform all checks if dim is optional.
	(gfc_check_minloc_maxloc):  Use dim_check and dim_rank_check
	to check dim argument.
	(check_reduction):  Likewise.

2006-02-06  Thomas Koenig  <Thomas.Koenig@online.de>

	PR fortran/25045
	* optional_dim.f90:  New test.

Attachment: opt-dim.diff
Description: Text document

Attachment: optional_dim.f90
Description: Text document


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