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]

Re: [Patch, Fortran] PR 18918 - Minor coarray patch: Fix expression rank and improve diagnostics


Tobias Burnus wrote:
This patch improves two things:

a) The error messages if the codimensions are wrongly specified -
instead of a rather misleading generic message ("Error: Expected array
subscript at (1)") a more explicit message is printed.

b) In iresolve.c the rank of the result of the (l,u)cobound/this_image
intrinsics was wrong. (Currently, the code is unreachable as those
intrinsics do not support nonconstant cobounds.)

Bootstrapped and regtested on x86-64-linux.
OK for the trunk?

Ok. Thanks for the patch!


Daniel

--
http://www.pro-vegan.info/
--
Done:  Arc-Bar-Cav-Ran-Rog-Sam-Tou-Val-Wiz
To go: Hea-Kni-Mon-Pri


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