[Bug tree-optimization/91570] [10 Regression] ICE in get_range_strlen_dynamic on a conditional of two strings
msebor at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Sep 24 19:05:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91570
--- Comment #4 from Martin Sebor <msebor at gcc dot gnu.org> ---
Author: msebor
Date: Tue Sep 24 19:04:54 2019
New Revision: 276105
URL: https://gcc.gnu.org/viewcvs?rev=276105&root=gcc&view=rev
Log:
PR tree-optimization/91570 - ICE in get_range_strlen_dynamic on a conditional
of two strings
gcc/Changelog:
* tree-ssa-strlen.c (get_range_strlen_dynamic): Handle null and
non-constant minlen, maxlen and maxbound.
gcc/testsuite/Changelog:
* gcc.dg/pr91570.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/pr91570.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-ssa-strlen.c
More information about the Gcc-bugs
mailing list