https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87961
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I think this is a dup of bug 17913 which was fixed in the C front-end in 2005 but it was never fixed in the C++ front-end (the front-ends share some code but not all).