[fortran, patch] PR32467 - structure containing allocatable array is wrongly accepted

Jakub Jelinek jakub@redhat.com
Tue Jun 26 05:37:00 GMT 2007


On Mon, Jun 25, 2007 at 08:50:30PM +0200, Daniel Franke wrote:
> On Sunday 24 June 2007 21:25:24 Jakub Jelinek wrote:
> 
> > But it would be helpful if you could cover also all the other clauses
> > in testcases (COPYPRIVATE, FIRSTPRIVATE, LASTPRIVATE and REDUCTION).
> > Especially because COPYIN resp. COPYPRIVATE are handled in different
> > code from the other clauses.
> 
> attached patch has a testcase that tests all clauses. While preparing it, I 
> found that the REDUCTION-clause allows for intrinsic types only (OpenMp v2.5, 
> section 2.8.3.6, Restrictions), so I excluded the "has allocatable 
> components"-error from REDUCTION since the "must be of intrinsic type"-error 
> is more general.
> 
> Again, regression tested on i686-pc-linux-gnu. Ok for trunk?

Thanks, ok with me.

	Jakub



More information about the Fortran mailing list