re PR tree-optimization/51624 (Assert_Failure atree.adb:808 during stage 3)
authorEric Botcazou <ebotcazou@adacore.com>
Wed, 4 Jan 2012 21:34:27 +0000 (21:34 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Wed, 4 Jan 2012 21:34:27 +0000 (21:34 +0000)
commit8594273a73ffb731659f16b9d469112dc0e4c113
treedf4e13bc1032827ddaf7fb13c5db9c196bb5ffa6
parent5dc28f42b4522c1ba7446174282496a3e54014d2
re PR tree-optimization/51624 (Assert_Failure atree.adb:808 during stage 3)

PR tree-optimization/51624
* tree-sra.c (build_ref_for_model): When replicating a chain of
COMPONENT_REFs, stop as soon as the offset would become negative.

From-SVN: r182889
gcc/ChangeLog
gcc/tree-sra.c