[PATCH] D82096: [flang] Fix crash with alternate returns in modules

Tim Keith via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 18 08:40:46 PDT 2020


tskeith accepted this revision.
tskeith added inline comments.
This revision is now accepted and ready to land.


================
Comment at: flang/lib/Semantics/mod-file.cpp:833
+    if (dummyArg) {
+      DoSymbol(DEREF(dummyArg));
+    }
----------------
`DEREF` is redundant after checking `dummyArg` is not null.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D82096/new/

https://reviews.llvm.org/D82096





More information about the llvm-commits mailing list