[flang-commits] [flang] a0bd244 - [flang] Fixed simple typo in runtime code

Zachary Selk via flang-commits flang-commits at lists.llvm.org
Thu Jun 10 10:15:54 PDT 2021


Author: Zachary Selk
Date: 2021-06-10T11:14:25-06:00
New Revision: a0bd24453b14d04666ed29f856387ead5c87205b

URL: https://github.com/llvm/llvm-project/commit/a0bd24453b14d04666ed29f856387ead5c87205b
DIFF: https://github.com/llvm/llvm-project/commit/a0bd24453b14d04666ed29f856387ead5c87205b.diff

LOG: [flang] Fixed simple typo in runtime code

Reviewed By: klausler

Differential Revision: https://reviews.llvm.org/D104034

Added: 
    

Modified: 
    flang/runtime/random.cpp

Removed: 
    


################################################################################
diff  --git a/flang/runtime/random.cpp b/flang/runtime/random.cpp
index 4d2297ad5564e..0ae4f270c19c3 100644
--- a/flang/runtime/random.cpp
+++ b/flang/runtime/random.cpp
@@ -103,7 +103,7 @@ void RTNAME(RandomNumber)(
     Generate<CppTypeFor<TypeCategory::Real, 10>, 64>(harvest);
     break;
 #elif LONG_DOUBLE == 128
-  case 4:
+  case 16:
     Generate<CppTypeFor<TypeCategory::Real, 16>, 113>(harvest);
     break;
 #endif


        


More information about the flang-commits mailing list