[Patch, Fortran] PR 18918 - Minor coarray patch: Fix expression rank and improve diagnostics
Tobias Burnus
burnus@net-b.de
Wed Jul 7 21:15:00 GMT 2010
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?
Tobias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: coarray_fixes.diff
Type: text/x-patch
Size: 6529 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20100707/0cf0f75f/attachment.bin>
More information about the Gcc-patches
mailing list