[PATCH] D104034: [flang] Fixed simple typo in runtime code
    Zachary Selk via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu Jun 10 10:16:01 PDT 2021
    
    
  
This revision was automatically updated to reflect the committed changes.
Closed by commit rGa0bd24453b14: [flang] Fixed simple typo in runtime code (authored by zacharyselk).
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D104034/new/
https://reviews.llvm.org/D104034
Files:
  flang/runtime/random.cpp
Index: flang/runtime/random.cpp
===================================================================
--- flang/runtime/random.cpp
+++ flang/runtime/random.cpp
@@ -103,7 +103,7 @@
     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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104034.351207.patch
Type: text/x-patch
Size: 388 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210610/49aad781/attachment.bin>
    
    
More information about the llvm-commits
mailing list