https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101377
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |NEW --- Comment #9 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- > lh_mouse@lhmouse-pc ~ $ /mingw64/x86_64-w64-mingw32/bin/as --version > GNU assembler (GNU Binutils) 2.36.1 > Copyright (C) 2021 Free Software Foundation, Inc. > This program is free software; you may redistribute it under the terms of > the GNU General Public License version 3 or later. > This program has absolutely no warranty. > This assembler was configured for a target of `x86_64-w64-mingw32'. Thanks. So I was confused and 2.36 indeed rejects the directive on Windows, you need the upcoming 2.37 to accept them. In any case, I can reproduce the problem with a cross-compiler.