diff options
author | Thomas Koenig <tkoenig@gcc.gnu.org> | 2020-12-20 20:38:10 +0100 |
---|---|---|
committer | Thomas Koenig <tkoenig@gcc.gnu.org> | 2020-12-20 20:44:48 +0100 |
commit | 1a50de8778750f019e61a97ee6d3e8226c41a7f1 (patch) | |
tree | ed2215fd2eb3d8312abd26d5d47966e9ff4b7508 /gcc/cppdefault.c | |
parent | a039ddac6d248f06184f1eece05d1da513917d69 (diff) | |
download | gcc-1a50de8778750f019e61a97ee6d3e8226c41a7f1.zip gcc-1a50de8778750f019e61a97ee6d3e8226c41a7f1.tar.gz gcc-1a50de8778750f019e61a97ee6d3e8226c41a7f1.tar.bz2 |
Made the ALLOCATED intrinsic work with scalar coarrays.
gcc/fortran/ChangeLog:
* trans-array.c (gfc_conv_array_ref): Whitespace fix. Do not
add offset if se->no_impl_this_image is set.
* trans-intrinsic.c (gfc_conv_allocated): Set
no_imp_this_image if checking the allocation status of
a scalar.
* trans.h (gfc_se): Add no_impl_this_image flag.
gcc/testsuite/ChangeLog:
* gfortran.dg/caf-shared/scalar_alloc_1.f90: New test.
* gfortran.dg/caf-shared/scalar_alloc_2.f90: New test.
Diffstat (limited to 'gcc/cppdefault.c')
0 files changed, 0 insertions, 0 deletions