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] Fix PR 26039, lack of conformance checking in some intrinsics


On Tue, Jan 31, 2006 at 06:48:30AM +0100, Paul Thomas wrote:

:ADDPATCH fortran:

> Why don't you 
> use gfc_check_conformance (const char*, gfc_expr *, gfc_expr*), which 
> will check the shapes as well?  The standard does actually specify 
> conformability.

Because I didn't know that this exists :-) Thanks for the hint.

What about this?  OK for 4.2 and (after some days) for 4.1?

	Thomas

2006-01-31  Thomas Koenig  <Thomas.Koenig@online.de>

	PR fortran/26039
	expr.c (gfc_check_conformance):  Reorder error message
	to avoid plural.
	check.c(gfc_check_minloc_maxloc):  Call gfc_check_conformance
	for checking arguments array and mask.
	(check_reduction):  Likewise.

2006-01-31  Thomas Koenig  <Thomas.Koenig@online.de>

	PR fortran/26039
	maxval_maxloc_conformance_1.f90:  New test.

Attachment: maxloc-check2.diff
Description: Text document

Attachment: maxval_maxloc_conformance_1.f90
Description: Text document


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