PR tree-optimization/35468
commit4d444068edd91e856edfe108a186f12e89cb3798
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 9 Dec 2008 16:55:35 +0000 (9 16:55 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 9 Dec 2008 16:55:35 +0000 (9 16:55 +0000)
treee1fc6db592f653e87c5ae59795210387846d1c3f
parent2d09531c0e1bfdff0ff7670be039eae39f54d61c
PR tree-optimization/35468
* tree-ssa-ccp.c (fold_stmt_r): Don't fold reads from constant
string on LHS.

* gcc.dg/pr35468.c: New test.
* gcc.c-torture/compile/pr35468.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@142598 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr35468.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/pr35468.c [new file with mode: 0644]
gcc/tree-ssa-ccp.c