flang-compiler/flang

flang bogus warning integer underflow

Opened this issue · 1 comments

the Fortran program
program underflow
REAL CONS
CONS=(1e-10)**2
END
results in warning "underflow on power with INTEGER exponent"
flang version 18.1.8 in msys2 clang64 shell

I can't reproduce this with Classic Flang. This problem is probably specific to LLVM Flang.