[flang-commits] [flang] Apply kind code check on exitstat and cmdstat (PR #78286)

Yi Wu via flang-commits flang-commits at lists.llvm.org
Wed Jan 17 02:52:22 PST 2024


================
@@ -77,7 +77,7 @@ static constexpr CategorySet AnyType{IntrinsicType | DerivedType};
 
 ENUM_CLASS(KindCode, none, defaultIntegerKind,
     defaultRealKind, // is also the default COMPLEX kind
-    doublePrecision, defaultCharKind, defaultLogicalKind,
+    doublePrecision, defaultCharKind, defaultLogicalKind, greaterAndEqualToKind,
----------------
yi-wu-arm wrote:

Sorry I was blind... Test file `execute_command_line.f90` has been added to `flang/test/Semantics/` testing for errors when less than, no errors when greater than or equal to.

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


More information about the flang-commits mailing list