diff options
author | Harald Anlauf <anlauf@gmx.de> | 2024-02-08 21:51:38 +0100 |
---|---|---|
committer | Harald Anlauf <anlauf@gmx.de> | 2024-02-09 19:24:02 +0100 |
commit | b3d622d70ba209b63471fc1b0970870046e55745 (patch) | |
tree | 4eb4d5e0249fbf1f1a94f418c8de988c1192850e /gcc/fortran/trans-common.cc | |
parent | 41a6d2560500a202708e7b661b8b2ad432aee3a6 (diff) | |
download | gcc-b3d622d70ba209b63471fc1b0970870046e55745.zip gcc-b3d622d70ba209b63471fc1b0970870046e55745.tar.gz gcc-b3d622d70ba209b63471fc1b0970870046e55745.tar.bz2 |
Fortran: error recovery on arithmetic overflow on unary operations [PR113799]
PR fortran/113799
gcc/fortran/ChangeLog:
* arith.cc (reduce_unary): Remember any overflow encountered during
reduction of unary arithmetic operations on array constructors and
continue, and return error status, but terminate on serious errors.
gcc/testsuite/ChangeLog:
* gfortran.dg/arithmetic_overflow_2.f90: New test.
Diffstat (limited to 'gcc/fortran/trans-common.cc')
0 files changed, 0 insertions, 0 deletions