[all-commits] [llvm/llvm-project] dbf547: [flang][runtime] Add limit check to MOD/MODULO (#8...
Peter Klausler via All-commits
all-commits at lists.llvm.org
Wed Jan 31 11:50:43 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: dbf547f8ffa9522656f7dd0f2a674f717f584834
https://github.com/llvm/llvm-project/commit/dbf547f8ffa9522656f7dd0f2a674f717f584834
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-01-31 (Wed, 31 Jan 2024)
Changed paths:
M flang/runtime/numeric.cpp
Log Message:
-----------
[flang][runtime] Add limit check to MOD/MODULO (#80026)
When testing the arguments to see whether they are integers, check first
that they are within the maximum range of a 64-bit integer; otherwise, a
value of larger magnitude will set an invalid operand exception flag.
More information about the All-commits
mailing list