aboutsummaryrefslogtreecommitdiff
path: root/gcc/builtins.c
diff options
context:
space:
mode:
authorHarald Anlauf <anlauf@gmx.de>2021-10-09 21:16:32 +0200
committerHarald Anlauf <anlauf@gmx.de>2021-10-09 21:16:32 +0200
commitb2713e9f16d3f3597d71e4be6384ecd788684936 (patch)
treed4c09d26a8eb6c2ccc7b234fbb13376aec327e2e /gcc/builtins.c
parent2b3014326fb883a96601a4dde295858d715289a7 (diff)
downloadgcc-b2713e9f16d3f3597d71e4be6384ecd788684936.zip
gcc-b2713e9f16d3f3597d71e4be6384ecd788684936.tar.gz
gcc-b2713e9f16d3f3597d71e4be6384ecd788684936.tar.bz2
Fortran: accept both old and new-style relational operators in USE, ONLY
F2018:10.1.5.5.1(2) requires the same interpretation of old and new-style relational operators. As gfortran internally distinguishes between these versions, we must match equivalent notations in USE module, ONLY: OPERATOR(op) statements when reading modules. gcc/fortran/ChangeLog: PR fortran/65454 * module.c (read_module): Handle old and new-style relational operators when used in USE module, ONLY: OPERATOR(op). gcc/testsuite/ChangeLog: PR fortran/65454 * gfortran.dg/interface_operator_3.f90: New test.
Diffstat (limited to 'gcc/builtins.c')
0 files changed, 0 insertions, 0 deletions