PR tree-optimization/57230
commit2047c70c0c7a3b55d7d81ce10618cba1bbb7be71
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 13 May 2013 07:50:38 +0000 (13 07:50 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 13 May 2013 07:50:38 +0000 (13 07:50 +0000)
tree6222776f2033e37553cfe5ef2160701ddeed9a6c
parent22b4b13df1a849442ffed1cf93df666b34ca067a
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
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/strlenopt-24.c [new file with mode: 0644]
gcc/tree-ssa-strlen.c