https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83622
--- Comment #8 from Paul Thomas <pault at gcc dot gnu.org> --- Author: pault Date: Sat Jan 13 13:52:34 2018 New Revision: 256607 URL: https://gcc.gnu.org/viewcvs?rev=256607&root=gcc&view=rev Log: 2018-01-13 Paul Thomas <pa...@gcc.gnu.org> PR fortran/52162 * trans-expr.c (gfc_trans_scalar_assign): Flag is_alloc_lhs if the rhs expression is neither an elemental nor a conversion function. PR fortran/83622 * trans-array.c (is_pointer_array): Remove unconditional return of false for -fopenmp. 2018-01-13 Paul Thomas <pa...@gcc.gnu.org> PR fortran/52162 * gfortran.dg/bounds_check_19.f90 : New test. Added: trunk/gcc/testsuite/gfortran.dg/bounds_check_19.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/trans-array.c trunk/gcc/fortran/trans-expr.c trunk/gcc/testsuite/ChangeLog