[Patch, Fortran] PR 33343 - Check conformance of actual arguments also for elemental functions

Tobias Burnus burnus@net-b.de
Thu Sep 13 14:14:00 GMT 2007


:ADDPATCH fortran:

Elemental procedures must have as arguments conformable actual
arguments. Up to know, this was only checked for elemental subroutines;
this simple patch enables the check also for elemental functions.

Additionally, I follow NAG f95 and print out the ranks in the error message.

Build and regression tested on x86_64-unknown-linux-gnu.

OK for the trunk?

Tobias
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: elemental2.diff
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20070913/56824128/attachment.ksh>


More information about the Gcc-patches mailing list