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: [fortran, patch] PR32467 - structure containing allocatable array is wrongly accepted


Daniel Franke wrote:
> As allocatable components in derived types are not part of F95, OpenMP v2.5 
> does not allow such in clauses where allocatable arrays are not allowed. 
> These clauses are: COPYIN, COPYPRIVATE, FIRSTPRIVATE, LASTPRIVATE, REDUCTION.
>
> Bootstrapped and regression tested on i686-pc-linux-gnu. Ok for trunk?
>   
Ok - but wait a few days before checking in to give others - esp. Jakub
- time to comment.


For the others: For more information, see the PR and thread starting at
http://www.openmp.org/pipermail/omp/2007/000921.html
http://www.openmp.org/pipermail/omp/2007/000924.html
(Currently the links are boring as no one has yet replied to the omp
list to Daniel's and my question.)

Thanks to Lawence F Meadows from Intel for pointing out that OpenMP 2.5
has no allocatable-components restriction since it is based on Fortran
95 (as Daniel already mentioned). OpenMP 3.0 may allow both allocatable
variables and variables with allocatable components, but let's wait for
the draft or release of the standard before worrying how to implement it.

Tobias


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