Original-commit: flang-compiler/f18@665fdf72d1 Reviewed-on: https://github.com/flang-compiler/f18/pull/20