[Bug target/69471] "-march=native" unintentionally breaks further -march/-mtune flags

2019-02-08 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69471 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/69471] "-march=native" unintentionally breaks further -march/-mtune flags

2018-11-05 Thread thiago at kde dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69471 --- Comment #6 from Thiago Macieira --- Clang is not affected: $ clang -dM -E -xc /dev/null -march=sandybridge -march=native | grep AVX #define __AVX2__ 1 #define __AVX__ 1 $ clang -dM -E -xc /dev/null -march=native -march=sandybridge | grep

[Bug target/69471] "-march=native" unintentionally breaks further -march/-mtune flags

2018-11-05 Thread thiago at kde dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69471 Thiago Macieira changed: What|Removed |Added CC||thiago at kde dot org --- Comment #5

[Bug target/69471] "-march=native" unintentionally breaks further -march/-mtune flags

2016-01-26 Thread wavexx at thregr dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69471 --- Comment #4 from wavexx at thregr dot org --- Since I couldn't find documentation for it either, doesn't -march=haswell by itself imply all associated ISA features? If so, why -march=native expands to all individual features explicitly?

[Bug target/69471] "-march=native" unintentionally breaks further -march/-mtune flags

2016-01-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69471 --- Comment #1 from Jonathan Wakely --- Some discussion at https://gcc.gnu.org/ml/gcc/2016-01/msg0.html However ... (In reply to wavexx from comment #0) > Since I generally override the default flags in makefiles by appending > exceptions

[Bug target/69471] "-march=native" unintentionally breaks further -march/-mtune flags

2016-01-25 Thread wavexx at thregr dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69471 --- Comment #2 from wavexx at thregr dot org --- On 25/01/16 18:38, redi at gcc dot gnu.org wrote: > Why would either you or the makefile add something like -march=opteron on a > haswell host? > > Surely the makefile should only add option that

[Bug target/69471] "-march=native" unintentionally breaks further -march/-mtune flags

2016-01-25 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69471 Manuel López-Ibáñez changed: What|Removed |Added CC||manu at gcc dot gnu.org ---