[Bug target/81763] Issues with 32bit x86 apps on GCC 7.1+

2017-08-08 Thread mike at fireburn dot co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81763 --- Comment #3 from Mike Lothian --- So dropping the -march=native allows everything to work again no matter which version of GCC Just using -mbmi breaks things and using -march=native -mno-bmi allows it all to work This is on a Skylake

[Bug target/81763] Issues with 32bit x86 apps on GCC 7.1+

2017-08-07 Thread mike at fireburn dot co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81763 --- Comment #2 from Mike Lothian --- Sorry I should have been more clear, this is LLVM trunk I'm using these flags: CFLAGS="-O2 -march=native -pipe" CXXFLAGS="-O2 -march=native -pipe" LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed"

[Bug target/81763] Issues with 32bit x86 apps on GCC 7.1+

2017-08-07 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81763 --- Comment #1 from Andrew Pinski --- There are some known issues with older versions of LLVM, maybe you are using too older version of LLVM. That is some versions of LLVM have undefined C++ code in them. GCC 7.1 is more aggressive of