diff options
author | Martin Sebor <msebor@redhat.com> | 2018-06-11 20:01:40 +0000 |
---|---|---|
committer | Martin Sebor <msebor@gcc.gnu.org> | 2018-06-11 14:01:40 -0600 |
commit | 223c63e62ab44cb36102758dffd5ac8c9ab63bb1 (patch) | |
tree | c2cf4657e86b6d834d4725d513d683dbc6e29638 /gcc/gcc.c | |
parent | 87cbbc45a950f382853e2e4cf494cdfab62f0e5b (diff) | |
download | gcc-223c63e62ab44cb36102758dffd5ac8c9ab63bb1.zip gcc-223c63e62ab44cb36102758dffd5ac8c9ab63bb1.tar.gz gcc-223c63e62ab44cb36102758dffd5ac8c9ab63bb1.tar.bz2 |
PR tree-optimization/86083 - handle non-constant assignments in strlen
gcc/ChangeLog:
PR tree-optimization/86083
* tree-ssa-strlen.c (handle_char_store): Use tree_expr_nonzero_p.
gcc/testsuite/ChangeLog:
PR tree-optimization/86083
* gcc.dg/strlenopt-44.c: New test.
From-SVN: r261452
Diffstat (limited to 'gcc/gcc.c')
0 files changed, 0 insertions, 0 deletions