summaryrefslogtreecommitdiff
path: root/gcc/gimplify.c
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2006-11-15 08:07:03 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2006-11-15 08:07:03 +0000
commit9ba2a8d41e3e577394c960ba662c401f63027dca (patch)
tree480f9260c702d3e1bde847b96e908fed1a499346 /gcc/gimplify.c
parentcdd8ed531879ce76abc45fb060db6ac7eda13246 (diff)
downloadgcc-9ba2a8d41e3e577394c960ba662c401f63027dca.tar.gz
2006-11-15 Paolo Bonzini <bonzini@gnu.org>
PR middle-end/29753 * gimplify.c (fold_indirect_ref_rhs): Use STRIP_USELESS_TYPE_CONVERSION rather than STRIP_NOPS. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@118845 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gimplify.c')
-rw-r--r--gcc/gimplify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gimplify.c b/gcc/gimplify.c
index 13c5f48d112..ab2efac5adb 100644
--- a/gcc/gimplify.c
+++ b/gcc/gimplify.c
@@ -3212,7 +3212,7 @@ fold_indirect_ref_rhs (tree t)
tree sub = t;
tree subtype;
- STRIP_NOPS (sub);
+ STRIP_USELESS_TYPE_CONVERSION (sub);
subtype = TREE_TYPE (sub);
if (!POINTER_TYPE_P (subtype))
return NULL_TREE;