re PR ipa/64192 (r218369 causes some regressions with -m32.)
2014-12-05 Martin Jambor <mjambor@suse.cz> PR ipa/64192 * ipa-prop.c (ipa_compute_jump_functions_for_edge): Convert alignment from bits to bytes after checking they are byte-aligned. From-SVN: r218433
This commit is contained in:
parent
d86cb6d5c7
commit
fda3e2851e
|
@ -1,3 +1,9 @@
|
|||
2014-12-05 Martin Jambor <mjambor@suse.cz>
|
||||
|
||||
PR ipa/64192
|
||||
* ipa-prop.c (ipa_compute_jump_functions_for_edge): Convert alignment
|
||||
from bits to bytes after checking they are byte-aligned.
|
||||
|
||||
2014-12-05 Renlin Li <renlin.li@arm.com>
|
||||
|
||||
* config/aarch64/aarch64-opts.h (AARCH64_CORE): Rename IDENT to SCHED.
|
||||
|
|
|
@ -1739,10 +1739,11 @@ ipa_compute_jump_functions_for_edge (struct func_body_info *fbi,
|
|||
unsigned align;
|
||||
|
||||
if (get_pointer_alignment_1 (arg, &align, &hwi_bitpos)
|
||||
&& align > BITS_PER_UNIT)
|
||||
&& align % BITS_PER_UNIT == 0
|
||||
&& hwi_bitpos % BITS_PER_UNIT == 0)
|
||||
{
|
||||
jfunc->alignment.known = true;
|
||||
jfunc->alignment.align = align;
|
||||
jfunc->alignment.align = align / BITS_PER_UNIT;
|
||||
jfunc->alignment.misalign = hwi_bitpos / BITS_PER_UNIT;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue