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: [gomp] Fix handling of non-array POINTER vars in OpenMP directives (PR fortran/32550)


On Tue, Jul 03, 2007 at 11:02:10AM +0200, FX Coudert wrote:
> >2007-07-02  Jakub Jelinek  <jakub@redhat.com>
> >
> >	PR fortran/32550
> >	* trans.h (GFC_POINTER_TYPE_P): Define.
> >	* trans-types.c (gfc_sym_type): Set it for types on attr->sym.pointer.
> >	* trans-openmp.c (gfc_omp_privatize_by_reference): Return false
> >	if GFC_POINTER_TYPE_P is set on the type.
> >
> >	* testsuite/libgomp.fortran/pr32550.f90: New test.
> >	* testsuite/libgomp.fortran/crayptr2.f90: New test.
> 
> OK for trunk. IIRC, OpenMP was introduced in 4.2.0 so it's not a  
> regression, is it?

It is not a regression, but generally at least so far I have been
trying to commit all OpenMP bugfixes to trunk, branches/gcc-4_2-branch
and branches/redhat/gcc-4_1-branch (and limit only new OpenMP features
and optimizations to trunk and branches/redhat/gcc-4_1-branch).

	Jakub


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