diff options
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/ipa-prop.c | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5dbbb05..eb0dc1d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2016-08-09 Richard Biener <rguenther@suse.de> + + PR ipa/68273 + * ipa-prop.c (ipa_modify_formal_parameters): Build + parameter types with natural alignment also for the + over-aligned case. + 2016-08-08 Andi Kleen <ak@linux.intel.com> * tree-vrp.c (get_single_symbol): Always initialize inv and neg. diff --git a/gcc/ipa-prop.c b/gcc/ipa-prop.c index 132b622..4385614 100644 --- a/gcc/ipa-prop.c +++ b/gcc/ipa-prop.c @@ -3910,7 +3910,7 @@ ipa_modify_formal_parameters (tree fndecl, ipa_parm_adjustment_vec adjustments) if (is_gimple_reg_type (ptype)) { unsigned malign = GET_MODE_ALIGNMENT (TYPE_MODE (ptype)); - if (TYPE_ALIGN (ptype) < malign) + if (TYPE_ALIGN (ptype) != malign) ptype = build_aligned_type (ptype, malign); } } |