[Bug target/86735] [8/9 Regression] Bad wrong-code bug with "-march=skylake-avx512 -Ofast"

janus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jul 31 14:58:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86735

--- Comment #10 from janus at gcc dot gnu.org ---
(In reply to Dominique d'Humieres from comment #8)
> On x86_64-apple-darwin17 without access to avx512, I see
> 
>[..]
> 
> Is this the same bug or should I file a new one?

That is not a bug at all. You apparently have an ivybridge processor, so with
that flag you get the expected output.

If you build for haswell or skylake architecture, that executable will not run
on ivybridge, of course.


More information about the Gcc-bugs mailing list