Commit abf30454 by Richard Biener Committed by Richard Biener

re PR bootstrap/61320 (ICE in jcf-parse.c:1622 (parse_class_file)

2014-08-06  Richard Biener  <rguenther@suse.de>

	PR tree-optimization/61320
	* tree-ssa-loop-ivopts.c (may_be_unaligned_p): Properly
	handle misaligned loads.

From-SVN: r213661
parent f901401e
2014-08-06 Richard Biener <rguenther@suse.de>
PR tree-optimization/61320
* tree-ssa-loop-ivopts.c (may_be_unaligned_p): Properly
handle misaligned loads.
2014-08-06 Alan Lawrence <alan.lawrence@arm.com> 2014-08-06 Alan Lawrence <alan.lawrence@arm.com>
* config/aarch64/aarch64.c (aarch64_evpc_dup): Enable for bigendian. * config/aarch64/aarch64.c (aarch64_evpc_dup): Enable for bigendian.
......
...@@ -1703,6 +1703,8 @@ may_be_unaligned_p (tree ref, tree step) ...@@ -1703,6 +1703,8 @@ may_be_unaligned_p (tree ref, tree step)
return false; return false;
unsigned int align = TYPE_ALIGN (TREE_TYPE (ref)); unsigned int align = TYPE_ALIGN (TREE_TYPE (ref));
if (GET_MODE_ALIGNMENT (TYPE_MODE (TREE_TYPE (ref))) > align)
align = GET_MODE_ALIGNMENT (TYPE_MODE (TREE_TYPE (ref)));
unsigned HOST_WIDE_INT bitpos; unsigned HOST_WIDE_INT bitpos;
unsigned int ref_align; unsigned int ref_align;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment