[flang-commits] [flang] [Flang] Fix type error when calling EXIT intrinsic (PR #178688)
via flang-commits
flang-commits at lists.llvm.org
Fri Jan 30 01:06:03 PST 2026
================
@@ -3853,9 +3852,6 @@ void IntrinsicLibrary::genExit(llvm::ArrayRef<fir::ExtendedValue> args) {
EXIT_SUCCESS)
: fir::getBase(args[0]);
----------------
jeanPerier wrote:
Just to clarify, this assert was not firing before you updated `DefaultInt` to `AnyInt` in Evaluate/intrinsics.cpp, right?
I am asking because if you were able to get the assert to fire instead of getting a semantic error, this would mean there is a bug/inconsistency between what the front-end and FIR consider to be the default integer type.
https://github.com/llvm/llvm-project/pull/178688
More information about the flang-commits
mailing list