```cpp template <typename Packet> void psincos_float(Packet &_x) { __asm__("" : "+g,w"(_x)); } ``` `$ clang-13 foo.cpp` works `$ clang-{14,15}` fails with: ```console foo.cpp:3:16: error: invalid output constraint '+g,w' in asm __asm__("" : "+g,w"(_x)); ^ 1 error generated. ``` This code can be found in Eigen: https://gitlab.com/libeigen/eigen/-/commit/82d61af3a490154ad1c0ae2fe00c561095854897#859198abc81bc7db86d6add0a16b27c957a7358b_1066_1114 Initially reported here: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1017765