aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2020-05-31 00:39:44 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2020-05-31 00:39:44 +0200
commit99b7f7cb9c864e6cd73e0deb0f053e15f5a95616 (patch)
treea65980c6362e9552a837b4099cd047dcdca2c291
parent72782d13e0b3d95aa0a4b88b9e35e44b08d25a82 (diff)
Fix #556: warnings with mingw
-rw-r--r--Eigen/Core2
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/Core b/Eigen/Core
index eafaea4f2..10b0bd839 100644
--- a/Eigen/Core
+++ b/Eigen/Core
@@ -36,7 +36,7 @@
// Disable the ipa-cp-clone optimization flag with MinGW 6.x or newer (enabled by default with -O3)
// See http://eigen.tuxfamily.org/bz/show_bug.cgi?id=556 for details.
-#if EIGEN_COMP_MINGW && EIGEN_GNUC_AT_LEAST(4,6)
+#if EIGEN_COMP_MINGW && EIGEN_GNUC_AT_LEAST(4,6) && EIGEN_GNUC_AT_MOST(5,5)
#pragma GCC optimize ("-fno-ipa-cp-clone")
#endif