https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87299
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|middle-end |preprocessor Target| |x86_64 --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- The problem here is while "#pragma GCC target("avx512f")" is processed during C front-end and communicates back to the preprocessor but while doing -save-temps (-E), the processing is not done so tokenizing happens without the processing of the pragma. The same issue happens with the C++ front-end where the tokenizer happens before the processing of the #pragma even (there is a bug about that too).