re PR fortran/55806 (Missed optimization with ANY or ALL)