[flang] Merge pull request flang-compiler/f18#938 from flang-compiler/pmk-fix-rank
drwxr-xr-x - flang