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)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 01:06:06 +0000 (10:06 +0900)
commit2f177a8d3a246a5c64e2b1b2a822c0c81bd3cb28
treedee36b7a0643192eee35649277f1006368af3215
parent6cda67151c8e02a2ff4bc9e4daf2b5e7880e5f69
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