]> gcc.gnu.org Git - 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>
Wed, 8 Dec 2021 19:21:56 +0000 (20:21 +0100)
commit423e0a98e3d972fb180803665a8c02b017b72d15
tree4324766483e826b1948fddc9679861db10fd3f04
parent8ff9ed7f4f7e80b4602524689dc486cf35e84e87
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.

(cherry picked from commit f47662204de27f7685699eeef89aa173ccf32d85)
gcc/fortran/match.c
gcc/testsuite/gfortran.dg/select_9.f90 [new file with mode: 0644]
This page took 0.068365 seconds and 6 git commands to generate.