https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116038
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- >A smaller reproduction without including the stdlib is: While the original is accepted by clang, this one is rejected by clang. I have not looked into why though.