]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fortran: add check for type of upper bound in case range
authorHarald Anlauf <anlauf@gmx.de>
Mon, 6 Dec 2021 22:15:11 +0000 (23:15 +0100)
committerHarald Anlauf <anlauf@gmx.de>
Tue, 7 Dec 2021 17:23:25 +0000 (18:23 +0100)
commitf47662204de27f7685699eeef89aa173ccf32d85
tree50f62857e6444a803f9fe4c0b379dae5aaf74bf9
parent8e836af61b7027c0819da62c12a8d18b7c46f3fc
Fortran: add check for type of upper bound in case range

gcc/fortran/ChangeLog:

PR fortran/103591
* match.c (match_case_selector): Check type of upper bound in case
range.

gcc/testsuite/ChangeLog:

PR fortran/103591
* gfortran.dg/select_9.f90: New test.
gcc/fortran/match.c
gcc/testsuite/gfortran.dg/select_9.f90 [new file with mode: 0644]