This is an automated email from the ASF dual-hosted git repository.
tqchen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-tvm.git
The following commit(s) were added to refs/heads/master by this push:
new edc5d8f Fix compile warnings. (#6204)
edc5d8f is described below
commit edc5d8f35eadcc214c77b12a4cf894dcfa4d481c
Author: Balint Cristian <[email protected]>
AuthorDate: Wed Aug 5 18:13:15 2020 +0300
Fix compile warnings. (#6204)
---
include/tvm/ir/attrs.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/include/tvm/ir/attrs.h b/include/tvm/ir/attrs.h
index d20ba4f..749274a 100644
--- a/include/tvm/ir/attrs.h
+++ b/include/tvm/ir/attrs.h
@@ -475,6 +475,10 @@ class AttrInitVisitor {
} else {
opt.value_missing_ = true;
}
+#if defined(__GNUC__)
+#pragma GCC diagnostic ignored "-Wpragmas"
+#pragma GCC diagnostic ignored "-Wpessimizing-move"
+#endif
return std::move(opt);
}