[flang-commits] [flang] [Flang] Fix type error when calling EXIT intrinsic (PR #178688)

Michael Klemm via flang-commits flang-commits at lists.llvm.org
Thu Jan 29 08:12:41 PST 2026


================
@@ -3853,9 +3852,6 @@ void IntrinsicLibrary::genExit(llvm::ArrayRef<fir::ExtendedValue> args) {
                                           EXIT_SUCCESS)
           : fir::getBase(args[0]);
 
----------------
mjklemm wrote:

The thing is that no convert is needed at this point.  The convert is introduced when needed when `fir::runtime::genExit` is being called.  So, the only change that's was really needed was to dump the `assert`.

https://github.com/llvm/llvm-project/pull/178688


More information about the flang-commits mailing list