https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79376
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic, wrong-code Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2017-02-04 Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> --- The root cause of this bug is a "thinko" in the get_range_strlen() function in gimple-fold.c that, although it tries to deal with this case, allows the lower bound to be set by subsequent iterations/recursive calls to the function.