summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2012-03-12 14:52:56 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2012-03-12 14:52:56 +0000
commit969baf696647921cdadad2cd03d45312f7939145 (patch)
tree9b89b8063e1c6055741e4f42b7bfdd938a25982c /gcc
parentcc48d234951f84337958a8db160806d36a9eeec4 (diff)
downloadgcc-969baf696647921cdadad2cd03d45312f7939145.tar.gz
2012-03-12 Richard Guenther <rguenther@suse.de>
* 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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/arm/arm.c3
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b8f8daca41d..c2ccdbf1bc9 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c
index dfba8e15fc1..e5779ce9f3e 100644
--- a/gcc/config/arm/arm.c
+++ b/gcc/config/arm/arm.c
@@ -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. */