aboutsummaryrefslogtreecommitdiff
path: root/libphobos/src/std/algorithm/internal.d
diff options
context:
space:
mode:
authorHarald Anlauf <anlauf@gmx.de>2022-02-09 21:54:29 +0100
committerHarald Anlauf <anlauf@gmx.de>2022-02-20 22:34:21 +0100
commite49508ac6b36adb8a2056c5a1fb6e0178de2439d (patch)
tree048885f0da1273e10c776209d068ff9e7288499d /libphobos/src/std/algorithm/internal.d
parent1f96b5eeef10e19a6b44152e418f252fa676e292 (diff)
downloadgcc-e49508ac6b36adb8a2056c5a1fb6e0178de2439d.zip
gcc-e49508ac6b36adb8a2056c5a1fb6e0178de2439d.tar.gz
gcc-e49508ac6b36adb8a2056c5a1fb6e0178de2439d.tar.bz2
Fortran: improve check of pointer initialization in DATA statements
gcc/fortran/ChangeLog: PR fortran/77693 * data.cc (gfc_assign_data_value): If a variable in a data statement has the POINTER attribute, check for allowed initial data target that is compatible with pointer assignment. * gfortran.h (IS_POINTER): New macro. gcc/testsuite/ChangeLog: PR fortran/77693 * gfortran.dg/data_pointer_2.f90: New test.
Diffstat (limited to 'libphobos/src/std/algorithm/internal.d')
0 files changed, 0 insertions, 0 deletions