2012-03-12 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 12 Mar 2012 14:52:56 +0000 (14:52 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 12 Mar 2012 14:52:56 +0000 (14:52 +0000)
* config/arm/arm.c (neon_dereference_pointer): Do not call
covert during RTL expansion.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185233 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/arm/arm.c

index b8f8dac..c2ccdbf 100644 (file)
@@ -1,3 +1,8 @@
+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>
 
        * doc/invoke.texi (VMS Options): Merge Alpha/VMS and IA-64/VMS
index dfba8e1..e5779ce 100644 (file)
@@ -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));
 
   /* Dereference EXP using that type.  */
-  exp = convert (build_pointer_type (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.  */