ggardet opened a new issue #7319: URL: https://github.com/apache/tvm/issues/7319
With GCC10, there is the following warning: ``` [ 1395s] /home/abuild/rpmbuild/BUILD/incubator-tvm-0.7.0/tests/cpp/ir_functor_test.cc: In member function 'virtual void IRF_ExprTransform_Test::TestBody()': [ 1395s] /home/abuild/rpmbuild/BUILD/incubator-tvm-0.7.0/tests/cpp/ir_functor_test.cc:75:18: warning: catching polymorphic type 'struct dmlc::Error' by value [-Wcatch-value=] [ 1395s] 75 | } catch (dmlc::Error) { [ 1395s] | ^~~~~ ``` Something like `} catch (dmlc::Error&) {` should fix it. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org