diff options
author | Andrew MacLeod <amacleod@redhat.com> | 2013-11-28 14:11:12 +0000 |
---|---|---|
committer | Andrew Macleod <amacleod@gcc.gnu.org> | 2013-11-28 14:11:12 +0000 |
commit | 0c6b087cc13517cbf9f52786e2727b6fc774d9da (patch) | |
tree | 2ac42e97013d52641bcf466a25422d9c930d35b5 /gcc/ipa-prop.c | |
parent | 2f3be698124b5c25f47f579b9bcda2d5f16db54b (diff) | |
download | gcc-0c6b087cc13517cbf9f52786e2727b6fc774d9da.tar.gz |
tree-ssa-propagate.c (valid_gimple_call_p): Pass TREE_TYPE to is_gimple_reg_type.
2013-11-28 Andrew MacLeod <amacleod@redhat.com>
* tree-ssa-propagate.c (valid_gimple_call_p): Pass TREE_TYPE to
is_gimple_reg_type.
* ipa-prop.c (determine_known_aggregate_parts): Likewise.
From-SVN: r205485
Diffstat (limited to 'gcc/ipa-prop.c')
-rw-r--r-- | gcc/ipa-prop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ipa-prop.c b/gcc/ipa-prop.c index 2254d0de421..712dab76c50 100644 --- a/gcc/ipa-prop.c +++ b/gcc/ipa-prop.c @@ -1424,7 +1424,7 @@ determine_known_aggregate_parts (gimple call, tree arg, lhs = gimple_assign_lhs (stmt); rhs = gimple_assign_rhs1 (stmt); - if (!is_gimple_reg_type (rhs) + if (!is_gimple_reg_type (TREE_TYPE (rhs)) || TREE_CODE (lhs) == BIT_FIELD_REF || contains_bitfld_component_ref_p (lhs)) break; |