tree-ssa-strlen.c (printf_strlen_execute): Initialize the loop optimizer and SCEV...
authorJeff Law <law@redhat.com>
Tue, 27 Aug 2019 23:03:45 +0000 (17:03 -0600)
committerJeff Law <law@gcc.gnu.org>
Tue, 27 Aug 2019 23:03:45 +0000 (17:03 -0600)
commit2d8ba44101028f4be534a20a0d2146695e1dc4fd
tree9ba699bb3eb8b0c9f8d88562019025d8452aea4c
parent2bd86b95f76315f102c52a81453ef375c97e8f1b
tree-ssa-strlen.c (printf_strlen_execute): Initialize the loop optimizer and SCEV before sizing ssa_ver_to_stridx.

* tree-ssa-strlen.c (printf_strlen_execute): Initialize
the loop optimizer and SCEV before sizing ssa_ver_to_stridx.

* gcc.c-torture/compile/20190827-1.c: New test.

From-SVN: r274975
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/20190827-1.c [new file with mode: 0644]
gcc/tree-ssa-strlen.c