[committed] Fix OpenMP handling of character allocatable scalars (PR fortran/88377)
Apparently the length decls corresponding to allocatable scalars with
character type are also GFC_DECL_GET_SCALAR_ALLOCATABLE; the OpenMP
clause handling code was relying on those to have POINTER_TYPEs, but
the lengths are integrals and should be handled normally.
Bootstrapped/regtested on x86_64-linux and i686-linux, committed to trunk.
* trans-openmp.c (gfc_omp_clause_default_ctor,
gfc_omp_clause_linear_ctor, gfc_omp_clause_dtor): Only consider
GFC_DECL_GET_SCALAR_ALLOCATABLE vars as scalar allocatables if they
have pointer type.