OSDN Git Service

2010-04-19 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 19 Apr 2010 13:36:54 +0000 (13:36 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 19 Apr 2010 13:36:54 +0000 (13:36 +0000)
commitd6b951b8385a0bee6adb0f364f01b38d22ff21ea
treeabc95b452bb0ec3c0f5823a4ec430430ab30b999
parent1870b3a03c94040a9afddf30f8a0cc91e138b981
2010-04-19  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/43783
* tree-ssa-pre.c (create_component_ref_by_pieces_1): Drop
constant ARRAY_REF operands two and three if possible.

* gcc.c-torture/execute/pr43783.c: New testcase.

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