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

Eugene Epshteyn via flang-commits flang-commits at lists.llvm.org
Thu Jan 29 08:08:56 PST 2026


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

Wouldn't it be more consistent to keep DefaultInt and add a convert here instead?

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


More information about the flang-commits mailing list