diff options
author | Harald Anlauf <anlauf@gmx.de> | 2021-11-26 21:00:35 +0100 |
---|---|---|
committer | Harald Anlauf <anlauf@gmx.de> | 2021-11-26 21:00:35 +0100 |
commit | 4d540c7a4a7fb87b04d06e1ee7f9b004116279a4 (patch) | |
tree | 99226378237d96d9f21a76feaa1cf787e53364a6 /libgcc | |
parent | caa04517e6f78a562f36897a6e7171f0121101b4 (diff) | |
download | gcc-4d540c7a4a7fb87b04d06e1ee7f9b004116279a4.zip gcc-4d540c7a4a7fb87b04d06e1ee7f9b004116279a4.tar.gz gcc-4d540c7a4a7fb87b04d06e1ee7f9b004116279a4.tar.bz2 |
Fortran: improve check of arguments to the RESHAPE intrinsic
gcc/fortran/ChangeLog:
PR fortran/103411
* check.c (gfc_check_reshape): Improve check of size of source
array for the RESHAPE intrinsic against the given shape when pad
is not given, and shape is a parameter. Try other simplifications
of shape.
gcc/testsuite/ChangeLog:
PR fortran/103411
* gfortran.dg/pr68153.f90: Adjust test to improved check.
* gfortran.dg/reshape_7.f90: Likewise.
* gfortran.dg/reshape_9.f90: New test.
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions