The “order” variable was used before being typed. This is apparently accepted by the GNU Fortran dialect.