re PR tree-optimization/45722 (FAIL: gcc.c-torture/execute/20040709-2.c execution...
authorEric Botcazou <ebotcazou@adacore.com>
Sun, 14 Nov 2010 11:24:47 +0000 (11:24 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sun, 14 Nov 2010 11:24:47 +0000 (11:24 +0000)
commitae788515d2b28952fdee5a83b010667dc9285732
tree97e1975467157f9597f21ef3b60596ea692c84ce
parent8926bd5d5c308154694122957e2a54c965ebee08
re PR tree-optimization/45722 (FAIL: gcc.c-torture/execute/20040709-2.c execution at -O1 and -Os)

PR tree-optimization/45722
* tree-sra.c (build_ref_for_model): Always build a COMPONENT_REF if
this is a reference to a component.
* ipa-prop.c (ipa_get_member_ptr_load_param): Accept COMPONENT_REF.
(ipa_note_param_call): Adjust comment.

From-SVN: r166731
gcc/ChangeLog
gcc/ipa-prop.c
gcc/tree-sra.c