[/] [branches/] - Rev 3944
Directory listing |
View Log |
Compare with Previous |
- Rev 3944, 2012-06-17 22:10:40 GMT
- Author: dreachem
- Log message:
- [CAF] Adds basic support for a set of coarray collectives
This adds some basic support for a set of coarray collectives that have been
proposed for inclusion into the Fortran standard:
co_sum, co_product, co_maxval, co_minval
Front-end support also was added for:
co_all, co_any, co_count, co_findloc, co_maxloc, co_inloc
A few general CAF bug fixes are also in this commit:
* In some cases the front-end would reuse a dope vector of a coarray type for a
non-coarray variable, which confused the subsequent back-end lowering phase.
This commit prevents such a thing from happening.
* The compiler didn't handle coscalars as arguments in CAF intrinsic calls,
specifically this_image, image_index, lcobound, and ucobound. This commit
adds support for this in the front-end. It required generation of a dope
vector for non-allocatable coscalars and some other changes.
Also, there were some minor adjustments to the functions names that are
created by the compiler for consistency.
Contributor: Deepak, Siddhartha