https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101735
--- Comment #14 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Harald Anlauf <anl...@gcc.gnu.org>: https://gcc.gnu.org/g:74a2281ae18c6dbbc640f0c79f7138a495ef8f0c commit r16-921-g74a2281ae18c6dbbc640f0c79f7138a495ef8f0c 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.