diff options
author | Harald Anlauf <anlauf@gmx.de> | 2022-10-11 22:08:48 +0200 |
---|---|---|
committer | Harald Anlauf <anlauf@gmx.de> | 2022-10-12 19:46:46 +0200 |
commit | 7858368c3f3875f6bf634119e5731dc3c808a7c3 (patch) | |
tree | 24266b2b8b8ab28f00e6ae8493c25ecb86053b77 /libjava/testsuite/libjava.loader/TestLeak.java | |
parent | caf9db5a7f99fae8b6088328b9b48ee79fa5e5f0 (diff) | |
download | gcc-7858368c3f3875f6bf634119e5731dc3c808a7c3.zip gcc-7858368c3f3875f6bf634119e5731dc3c808a7c3.tar.gz gcc-7858368c3f3875f6bf634119e5731dc3c808a7c3.tar.bz2 |
Fortran: check types of operands of arithmetic binary operations [PR107217]
gcc/fortran/ChangeLog:
PR fortran/107217
* arith.cc (gfc_arith_plus): Compare consistency of types of operands.
(gfc_arith_minus): Likewise.
(gfc_arith_times): Likewise.
(gfc_arith_divide): Likewise.
(arith_power): Check that both operands are of numeric type.
gcc/testsuite/ChangeLog:
PR fortran/107217
* gfortran.dg/pr107217.f90: New test.
Diffstat (limited to 'libjava/testsuite/libjava.loader/TestLeak.java')
0 files changed, 0 insertions, 0 deletions