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] Minor coarray fix: Constraint check, wrong "restrict"


On 05/26/2011 11:10 PM, Tobias Burnus wrote:
Attached is a small coarray fix, solving two issues:

- For -fcoarray=single, nonallocatable coarrays are nonpointer - but currently they get set the "restrict" qualifier. (With -fcoarray=lib, nonallocatble coarrays are always pointers.)
Fixed by not setting "restricted" in this case.


- The pointer association status may not be checked/modified on remote images. And remote (de)allocate is also invalid. However, some of those constraint checks were missing

OK for the trunk?

Tobias
This is OK and thanks for your great work on this.

Jerry


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