mirror of git://gcc.gnu.org/git/gcc.git
re PR target/68273 (Wrong code on mips/mipsel due to (invalid?) peeking at alignments in function_arg.)
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. From-SVN: r239273
This commit is contained in:
parent
cadec7ca6e
commit
fe7afdf5b5
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue