This patch adds multi-image support to UCOBOUND. In the
-fcoarray=single case, the last dimension is just "LCOARRAY (coarray,
dim=corank)". However, if there are multiple images, one has for
corank-1 coarrays: "lcobound(coarray) + num_images() -1" and for
multi-rank coarrays for the last dimension "lcobound(coarray,
dim=corank) + ceiling (real (num_images ()) / real (size)) - 1", where
size is the product of the extends in all but the last codimension.
Well, that's actually all the patch does. (Except that
"ceiling(N/S)-1" is replaced by "(N+S-1)/S-1" = "(N-1)/S".)
Build an regtested on x86-64-linux.
OK for the trunk?