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

--- Comment #22 from Nikolay Bogoychev <nheart at gmail dot com> ---
Hey,

I was reading through the mailing list discussion (
https://gcc.gnu.org/ml/gcc-patches/2019-04/msg00757.html ) and I want to say
that currently code like 

void __attribute__ ((target("avx512dq"))) foo ()

Compiles as long as function multi-versioning is not used. Making this syntax
invalid, puts us in a very annoying position, because we can't use the new
recommended syntax due to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90129

That would mean we would have to do some hacky ifdefs to match different
compiler versions.

Is there no other way.

Cheers,

Nick

Reply via email to