PR tree-optimization/57230
	* tree-ssa-strlen.c (handle_char_store): Record length for
	array store from STRING_CST.

	* gcc.dg/strlenopt-24.c: New test.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198815 138bc75d-0d04-0410-961f-82ee72b054a4