PR tree-optimization/83781 - Bootstrap failed on x86 with --with-arch=corei7
authorMartin Sebor <msebor@redhat.com>
Thu, 11 Jan 2018 05:13:57 +0000 (05:13 +0000)
committerMartin Sebor <msebor@gcc.gnu.org>
Thu, 11 Jan 2018 05:13:57 +0000 (22:13 -0700)
commit1bfd6a0038c9ade9db7cbae3b550d14a62c91ebf
tree40c6d997cc3c2c18557c8bfa2bf6a706c9c9ed30
parent05ef31736c431ca4721ba8d05156e99af79a5aac
PR tree-optimization/83781 - Bootstrap failed on x86 with --with-arch=corei7

PR tree-optimization/83781 - Bootstrap failed on x86 with --with-arch=corei7
  --with-cpu=corei7

gcc/ChangeLog:
* gimple-fold.c (get_range_strlen): Avoid treating arrays of pointers
as string arrays.

gcc/testsuite/ChangeLog:
* gcc.dg/strlenopt-42.c: New test.

From-SVN: r256477
gcc/ChangeLog
gcc/gimple-fold.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/strlenopt-42.c [new file with mode: 0644]