https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103776
--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-11 branch has been updated by Harald Anlauf <anl...@gcc.gnu.org>: https://gcc.gnu.org/g:3c830e6d17b12aff2875b6e80e77774404f09153 commit r11-9419-g3c830e6d17b12aff2875b6e80e77774404f09153 Author: Harald Anlauf <anl...@gmx.de> Date: Mon Dec 20 22:01:05 2021 +0100 Fortran: CASE selector expressions must be scalar gcc/fortran/ChangeLog: PR fortran/103776 * match.c (match_case_selector): Reject expressions in CASE selector which are not scalar. gcc/testsuite/ChangeLog: PR fortran/103776 * gfortran.dg/select_10.f90: New test. (cherry picked from commit 5474092c9afbd76cbd457facce3757d8d2fad07b)