https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92264
--- Comment #27 from Jakub Jelinek <jakub at gcc dot gnu.org> --- So, I've looked at two cases from those where visited_vals.length () > 100 returned non-NULL, in particular Wsizeof-pointer-memaccess1.c and diagnostic-show-locus.c. In both all the cases where it returned non-NULL and length () > 100 were those where it returns static_reg_base_value[STACK_POINTER_REGNUM]. Which seems exactly like the case for which cselib_sp_based_value_p has been invented, except it doesn't seem to work in this case the way it should. Will try to have a look why. Anyway, if that is fixed, perhaps we can just lower the param to 100?