[PATCH] D94456: Fix unused variable in CoroFrame.cpp when building Release with GCC 10
Xun Li via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 13 22:54:01 PST 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rGff5e89642557: Fix unused variable in CoroFrame.cpp when building Release with GCC 10 (authored by dpaoliello, committed by lxfind).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D94456/new/
https://reviews.llvm.org/D94456
Files:
llvm/lib/Transforms/Coroutines/CoroFrame.cpp
Index: llvm/lib/Transforms/Coroutines/CoroFrame.cpp
===================================================================
--- llvm/lib/Transforms/Coroutines/CoroFrame.cpp
+++ llvm/lib/Transforms/Coroutines/CoroFrame.cpp
@@ -1535,6 +1535,7 @@
for (BasicBlock *Pred : Preds) {
if (CatchSwitchInst *CS =
dyn_cast<CatchSwitchInst>(Pred->getTerminator())) {
+ (void)CS;
// CleanupPad with a CatchSwitch predecessor: therefore this is an
// unwind destination that needs to be handle specially.
assert(CS->getUnwindDest() == &BB);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D94456.316571.patch
Type: text/x-patch
Size: 584 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210114/f0d9d6cf/attachment.bin>
More information about the llvm-commits
mailing list