https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71136
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Hmm, clang and MSVC also reject the code in comment #1 (the one without the bool) for the same reason as GCC.
pinskia at gcc dot gnu.org via Gcc-bugs Thu, 11 Nov 2021 14:08:10 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71136
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Hmm, clang and MSVC also reject the code in comment #1 (the one without the bool) for the same reason as GCC.