https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115004
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Note this works with the IR coming out of the C front-end but NOT the IR coming out from the C++ front-end. Yes the front-ends are different.