Commit bb008427 by Richard Guenther Committed by Richard Biener

arm.c (neon_dereference_pointer): Do not call covert during RTL expansion.

2012-03-12  Richard Guenther  <rguenther@suse.de>

	* config/arm/arm.c (neon_dereference_pointer): Do not call
	covert during RTL expansion.

From-SVN: r185233
parent 281740d1
2012-03-12 Richard Guenther <rguenther@suse.de>
* config/arm/arm.c (neon_dereference_pointer): Do not call
covert during RTL expansion.
2012-03-12 Tristan Gingold <gingold@adacore.com> 2012-03-12 Tristan Gingold <gingold@adacore.com>
* doc/invoke.texi (VMS Options): Merge Alpha/VMS and IA-64/VMS * doc/invoke.texi (VMS Options): Merge Alpha/VMS and IA-64/VMS
......
...@@ -20637,9 +20637,8 @@ neon_dereference_pointer (tree exp, enum machine_mode mem_mode, ...@@ -20637,9 +20637,8 @@ neon_dereference_pointer (tree exp, enum machine_mode mem_mode,
array_type = build_array_type (elem_type, build_index_type (upper_bound)); array_type = build_array_type (elem_type, build_index_type (upper_bound));
/* Dereference EXP using that type. */ /* Dereference EXP using that type. */
exp = convert (build_pointer_type (array_type), exp);
return fold_build2 (MEM_REF, array_type, exp, return fold_build2 (MEM_REF, array_type, exp,
build_int_cst (TREE_TYPE (exp), 0)); build_int_cst (build_pointer_type (array_type), 0));
} }
/* Expand a Neon builtin. */ /* Expand a Neon builtin. */
......
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