[flang] Fix wording of warning message

"division on intrinsic call" should read "division by zero on intrinsic call".

Differential Revision: https://reviews.llvm.org/D128394
This commit is contained in:
Peter Klausler 2022-06-17 16:31:17 -07:00
parent 466eae6aa3
commit dfaa3880e1
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ void RealFlagWarnings(
if (std::strcmp(operation, "division") == 0) {
context.messages().Say("division by zero"_warn_en_US);
} else {
context.messages().Say("division on %s"_warn_en_US, operation);
context.messages().Say("division by zero on %s"_warn_en_US, operation);
}
}
if (flags.test(RealFlag::InvalidArgument)) {