Original-commit: flang-compiler/f18@4f4f853e5b Reviewed-on: https://github.com/flang-compiler/f18/pull/25