aboutsummaryrefslogtreecommitdiff
path: root/gcc/d/expr.cc
diff options
context:
space:
mode:
authorHarald Anlauf <anlauf@gmx.de>2022-06-28 22:29:28 +0200
committerHarald Anlauf <anlauf@gmx.de>2022-06-29 19:12:24 +0200
commitb8f284d3673004dffae714b56ed663467c2a52a7 (patch)
tree0cc00a4c661aaa1e3e46442fc3afe3c592b6b5ef /gcc/d/expr.cc
parent01779f4f3d0ce7913da10649cda9ea69b0e5dd1b (diff)
downloadgcc-b8f284d3673004dffae714b56ed663467c2a52a7.zip
gcc-b8f284d3673004dffae714b56ed663467c2a52a7.tar.gz
gcc-b8f284d3673004dffae714b56ed663467c2a52a7.tar.bz2
Fortran: improve error recovery for EXTENDS_TYPE_OF() [PR106121]
gcc/fortran/ChangeLog: PR fortran/106121 * simplify.cc (gfc_simplify_extends_type_of): Do not attempt to simplify when one of the arguments is a CLASS variable that was not properly declared. gcc/testsuite/ChangeLog: PR fortran/106121 * gfortran.dg/extends_type_of_4.f90: New test. Co-authored-by: Steven G. Kargl <kargl@gcc.gnu.org>
Diffstat (limited to 'gcc/d/expr.cc')
0 files changed, 0 insertions, 0 deletions