This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch, Fortran] Minor coarray fix: Constraint check, wrong "restrict"
- From: jerry DeLisle <jvdelisle at charter dot net>
- To: Tobias Burnus <burnus at net-b dot de>
- Cc: gcc patches f <gcc-patches at gcc dot gnu dot org>, gfortran <fortran at gcc dot gnu dot org>
- Date: Fri, 27 May 2011 06:32:32 -0700
- Subject: Re: [Patch, Fortran] Minor coarray fix: Constraint check, wrong "restrict"
- References: <4DDF406A.604@net-b.de>
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