commit | 8294c9025a901ad055c979f80815465765836ae1 | [log] [tgz] |
---|---|---|
author | Maciej W. Rozycki <macro@embecosm.com> | Fri Dec 17 15:01:32 2021 +0000 |
committer | Maciej W. Rozycki <macro@embecosm.com> | Fri Dec 17 15:01:32 2021 +0000 |
tree | 65a359308adb1e769184a6f165c4c5fd8a7a12fa | |
parent | c12d6b570d929eabbe56160baaf85348b0fdf521 [diff] |
Avoid redundant operations in `fortran_array_walker' Move inner dimension's element type determination outside the respective loops in `fortran_array_walker'. The operation is exactly the same with each iteration, so there is no point in redoing it for each element and while a smart compiler might be able to move it outside the loop it is regardless a bad coding style. No functional change.