aboutsummaryrefslogtreecommitdiff
path: root/gcc/value-range.h
diff options
context:
space:
mode:
authorHarald Anlauf <anlauf@gmx.de>2022-10-04 23:04:06 +0200
committerMikael Morin <mikael@gcc.gnu.org>2022-10-08 21:19:26 +0200
commit705ed42a1ad950860f46c51216ff69dbe0f4857a (patch)
tree5f8e301dd5220235bf4172d7c04ea02542394404 /gcc/value-range.h
parent6ffbf87ca66f4ed9cd79cff675fabe2109e46e85 (diff)
downloadgcc-705ed42a1ad950860f46c51216ff69dbe0f4857a.zip
gcc-705ed42a1ad950860f46c51216ff69dbe0f4857a.tar.gz
gcc-705ed42a1ad950860f46c51216ff69dbe0f4857a.tar.bz2
Fortran: error recovery for invalid types in array constructors [PR107000]
gcc/fortran/ChangeLog: PR fortran/107000 * arith.cc (gfc_arith_error): Define error message for ARITH_INVALID_TYPE. (reduce_unary): Catch arithmetic expressions with invalid type. (reduce_binary_ac): Likewise. (reduce_binary_ca): Likewise. (reduce_binary_aa): Likewise. (eval_intrinsic): Likewise. (gfc_real2complex): Source expression must be of type REAL. * gfortran.h (enum arith): Add ARITH_INVALID_TYPE. gcc/testsuite/ChangeLog: PR fortran/107000 * gfortran.dg/pr107000.f90: New test. Co-authored-by: Mikael Morin <mikael@gcc.gnu.org>
Diffstat (limited to 'gcc/value-range.h')
0 files changed, 0 insertions, 0 deletions