https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111224
--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> --- case POLY_INT_CST: gcc_unreachable (); /* Not supported in C++. */ That is definitely not true. POLY_INT_CST can be created via target builtins even.