Bugzilla – Attachment 363 Details for
Bug 556
Matrix multiplication crashes using mingw 4.7
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Forgot Password
Login:
[x]
This bugzilla service is closed. All entries have been migrated to
https://gitlab.com/libeigen/eigen
[patch]
Disable ipa-cp-clone flag with mingw >= 6.0
Fix_556.diff (text/plain), 1.18 KB, created by
Gael Guennebaud
on 2013-06-28 23:48:06 UTC
(
hide
)
Description:
Disable ipa-cp-clone flag with mingw >= 6.0
Filename:
MIME Type:
Creator:
Gael Guennebaud
Created:
2013-06-28 23:48:06 UTC
Size:
1.18 KB
patch
obsolete
>diff --git a/Eigen/Core b/Eigen/Core >--- a/Eigen/Core >+++ b/Eigen/Core >@@ -14,16 +14,22 @@ > // first thing Eigen does: stop the compiler from committing suicide > #include "src/Core/util/DisableStupidWarnings.h" > > // then include this file where all our macros are defined. It's really important to do it first because > // it's where we do all the alignment settings (platform detection and honoring the user's will if he > // defined e.g. EIGEN_DONT_ALIGN) so it needs to be done before we do anything with vectorization. > #include "src/Core/util/Macros.h" > >+// 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 defined(__MINGW32__) && EIGEN_GNUC_AT_LEAST(4,6) >+ #pragma GCC optimize ("-fno-ipa-cp-clone") >+#endif >+ > #include <complex> > > // this include file manages BLAS and MKL related macros > // and inclusion of their respective header files > #include "src/Core/util/MKL_support.h" > > // if alignment is disabled, then disable vectorization. Note: EIGEN_ALIGN is the proper check, it takes into > // account both the user's will (EIGEN_DONT_ALIGN) and our own platform checks
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 556
: 363