<div dir="ltr">I guess it triggered when the index sequence was zero length? Yeah, pity. </div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Sep 3, 2021 at 3:45 PM Lang Hames via llvm-commits <<a href="mailto:llvm-commits@lists.llvm.org">llvm-commits@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
Author: Lang Hames<br>
Date: 2021-09-04T08:45:36+10:00<br>
New Revision: 1ece14b652755cdc9641c8361e6d29a7943a7b49<br>
<br>
URL: <a href="https://github.com/llvm/llvm-project/commit/1ece14b652755cdc9641c8361e6d29a7943a7b49" rel="noreferrer" target="_blank">https://github.com/llvm/llvm-project/commit/1ece14b652755cdc9641c8361e6d29a7943a7b49</a><br>
DIFF: <a href="https://github.com/llvm/llvm-project/commit/1ece14b652755cdc9641c8361e6d29a7943a7b49.diff" rel="noreferrer" target="_blank">https://github.com/llvm/llvm-project/commit/1ece14b652755cdc9641c8361e6d29a7943a7b49.diff</a><br>
<br>
LOG: [ORC] Silence a buggy GCC unused argument warning.<br>
<br>
Added: <br>
<br>
<br>
Modified: <br>
    llvm/include/llvm/ExecutionEngine/Orc/Shared/WrapperFunctionUtils.h<br>
<br>
Removed: <br>
<br>
<br>
<br>
################################################################################<br>
diff  --git a/llvm/include/llvm/ExecutionEngine/Orc/Shared/WrapperFunctionUtils.h b/llvm/include/llvm/ExecutionEngine/Orc/Shared/WrapperFunctionUtils.h<br>
index bd74b5b3529d3..eb27c9674aabc 100644<br>
--- a/llvm/include/llvm/ExecutionEngine/Orc/Shared/WrapperFunctionUtils.h<br>
+++ b/llvm/include/llvm/ExecutionEngine/Orc/Shared/WrapperFunctionUtils.h<br>
@@ -315,6 +315,7 @@ class WrapperFunctionAsyncHandlerHelper<RetT(SendResultT, ArgTs...),<br>
   static void callAsync(HandlerT &&H,<br>
                         SerializeAndSendResultT &&SerializeAndSendResult,<br>
                         ArgTupleT Args, std::index_sequence<I...>) {<br>
+    (void)Args; // Silence a buggy GCC warning.<br>
     return std::forward<HandlerT>(H)(std::move(SerializeAndSendResult),<br>
                                      std::move(std::get<I>(Args))...);<br>
   }<br>
<br>
<br>
<br>
_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@lists.llvm.org" target="_blank">llvm-commits@lists.llvm.org</a><br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits</a><br>
</blockquote></div>