]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR tree-optimization/58984 (wrong code at -Os and above on x86_64-linux-gnu in...
authorJakub Jelinek <jakub@redhat.com>
Tue, 5 Nov 2013 12:05:37 +0000 (13:05 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 5 Nov 2013 12:05:37 +0000 (13:05 +0100)
commit3ff2ca23dcf986e846691ec259da9243c636e64c
tree94f1319a87c64263ea23f14068264399661a6f16
parentf93a6a65b024af690d6b81778accea9587ad0a2a
re PR tree-optimization/58984 (wrong code at -Os and above on x86_64-linux-gnu in 64-bit mode)

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.

From-SVN: r204385
gcc/ChangeLog
gcc/ipa-prop.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr58984.c [new file with mode: 0644]