[flang] Warn on overflow folding DIM()
The intrinsic function DIM can overflow when its second argument is negative. Detect this case for real and integer arguments and emit a warning when necessary. Differential Revision: https://reviews.llvm.org/D143798
Loading
Please sign in to comment