https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89119
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- I believe all RANGE_EXPRs pt.c should see are with two INTEGER_CSTs with non-dependent type, so just return t; IMHO would do the job. But if you want to recurse on those constants and build a new RANGE_EXPR, that is certainly possible too.