https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101735
--- Comment #16 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-15 branch has been updated by Harald Anlauf <anl...@gcc.gnu.org>: https://gcc.gnu.org/g:819b6415b639710566e4cc535241d82ccd708f76 commit r15-9760-g819b6415b639710566e4cc535241d82ccd708f76 Author: Harald Anlauf <anl...@gmx.de> Date: Tue May 27 23:08:54 2025 +0200 Fortran: fix regression introduced by commit r16-914-g787a8dec1acedf A last-minute cleanup before patch submission reordered a change that should not have happened. This fixes it. PR fortran/101735 gcc/fortran/ChangeLog: * primary.cc (gfc_match_varspec): Correct order of logic. (cherry picked from commit 74a2281ae18c6dbbc640f0c79f7138a495ef8f0c)