https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104288
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |needs-bisection Component|middle-end |tree-optimization --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- EVRP is removing the null pointer check. I suspect the ranger code is not taking into account where we are in the IR and it thinks the arguments to strcmp will be null pointers but before we have other function calls which might not return.