diff options
author | Harald Anlauf <anlauf@gmx.de> | 2021-10-14 20:19:50 +0200 |
---|---|---|
committer | Harald Anlauf <anlauf@gmx.de> | 2021-10-14 20:19:50 +0200 |
commit | b47490c572c5938f887b54240af6096a7c90f640 (patch) | |
tree | 9db7531d1ff5a78e155f275f63fc8ea78ac9f104 /gcc/tree-vect-loop-manip.c | |
parent | 1b115daf62d94337b3d0b2962b0bbbf005a450e0 (diff) | |
download | gcc-b47490c572c5938f887b54240af6096a7c90f640.zip gcc-b47490c572c5938f887b54240af6096a7c90f640.tar.gz gcc-b47490c572c5938f887b54240af6096a7c90f640.tar.bz2 |
Fortran: generate error message for negative elements in SHAPE array
gcc/fortran/ChangeLog:
PR fortran/102717
* simplify.c (gfc_simplify_reshape): Replace assert by error
message for negative elements in SHAPE array.
gcc/testsuite/ChangeLog:
PR fortran/102717
* gfortran.dg/reshape_shape_2.f90: New test.
Diffstat (limited to 'gcc/tree-vect-loop-manip.c')
0 files changed, 0 insertions, 0 deletions