aboutsummaryrefslogtreecommitdiff
path: root/gcc/go
diff options
context:
space:
mode:
authorMartin Sebor <msebor@redhat.com>2018-06-25 20:46:45 +0000
committerMartin Sebor <msebor@gcc.gnu.org>2018-06-25 14:46:45 -0600
commitb36bc89e32a52ac41b6b68d834c7692b890741e6 (patch)
tree5b89ff8ce0de4a470d9653841c70fa1d0d32d042 /gcc/go
parent03cd7d3fa2d756cb4fb7d62d4aba277893932ace (diff)
downloadgcc-b36bc89e32a52ac41b6b68d834c7692b890741e6.zip
gcc-b36bc89e32a52ac41b6b68d834c7692b890741e6.tar.gz
gcc-b36bc89e32a52ac41b6b68d834c7692b890741e6.tar.bz2
PR tree-optimization/86204 - wrong strlen result after prior strnlen
gcc/ChangeLog: PR tree-optimization/86204 * tree-ssa-strlen.c (handle_builtin_strlen): Avoid storing a strnlen result if it's less than the length of the string. gcc/testsuite/ChangeLog: PR tree-optimization/86204 * gcc.dg/strlenopt-46.c: New test. From-SVN: r262114
Diffstat (limited to 'gcc/go')
0 files changed, 0 insertions, 0 deletions