re PR tree-optimization/71707 (ICE in get_stridx_plus_constant)
authorJakub Jelinek <jakub@redhat.com>
Thu, 30 Jun 2016 18:45:18 +0000 (20:45 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 30 Jun 2016 18:45:18 +0000 (20:45 +0200)
commit55a0f21aba28fac542ec1b092089140f00eec2ed
tree346cd525dca5b49ae36a4d5075a82d931b2cc902
parent6245ad72d23867f979d0960bdde9a8427c6ba262
re PR tree-optimization/71707 (ICE in get_stridx_plus_constant)

PR tree-optimization/71707
* tree-ssa-strlen.c (get_stridx_plus_constant): Handle already present
strinfo even for ADDR_EXPR ptr.

* gcc.dg/strlenopt-29.c: New test.

From-SVN: r237889
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/strlenopt-29.c [new file with mode: 0644]
gcc/tree-ssa-strlen.c