https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86583
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- clang 9 and above started to accept the code. I have not looked into why they changed it yet though.
pinskia at gcc dot gnu.org via Gcc-bugs Wed, 08 Dec 2021 17:14:56 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86583
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- clang 9 and above started to accept the code. I have not looked into why they changed it yet though.