]> git.ipfire.org Git - thirdparty/gcc.git/commit
PR tree-optimization/58984
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Nov 2013 12:05:37 +0000 (12:05 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Nov 2013 12:05:37 +0000 (12:05 +0000)
commit2a687ef9b1fced60667bdb8e772a33ccb63e29c3
tree94f1319a87c64263ea23f14068264399661a6f16
parent835d50d27d08a4e27ee56d0c885d6232b743ed2c
PR tree-optimization/58984
* ipa-prop.c (ipa_load_from_parm_agg_1): Add SIZE_P argument,
set *SIZE_P if non-NULL on success.
(ipa_load_from_parm_agg, ipa_analyze_indirect_call_uses): Adjust
callers.
(ipcp_transform_function): Likewise.  Punt if size of access
is different from TYPE_SIZE on v->value's type.

* gcc.c-torture/execute/pr58984.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204385 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/ipa-prop.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr58984.c [new file with mode: 0644]