r260540 - in /branches/gcc-8-branch/gcc: Change...

rsandifo@gcc.gnu.org rsandifo@gcc.gnu.org
Tue May 22 17:32:00 GMT 2018


Author: rsandifo
Date: Tue May 22 17:32:37 2018
New Revision: 260540

URL: https://gcc.gnu.org/viewcvs?rev=260540&root=gcc&view=rev
Log:
Fix tree-ssa-strlen handling of partial clobbers (PR85814)

Backport trunk fix (r260488).

2018-05-22  Richard Sandiford  <richard.sandiford@linaro.org>

gcc/
	PR tree-optimization/85814
	* tree-ssa-strlen.c (get_stridx_plus_constant): Cope with
	a null return from get_strinfo when unsharing the next
	strinfo in the chain.

gcc/testsuite/
	PR tree-optimization/85814
	* gcc.dg/torture/pr85814.c: New test.

Added:
    branches/gcc-8-branch/gcc/testsuite/gcc.dg/torture/pr85814.c
Modified:
    branches/gcc-8-branch/gcc/ChangeLog
    branches/gcc-8-branch/gcc/testsuite/ChangeLog
    branches/gcc-8-branch/gcc/tree-ssa-strlen.c



More information about the Gcc-cvs mailing list