summaryrefslogtreecommitdiff
path: root/gcc/tree-mudflap.c
diff options
context:
space:
mode:
authoraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>2006-10-09 13:58:10 +0000
committeraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>2006-10-09 13:58:10 +0000
commit28f1e21fb9fe5d86f401da7faf733b41f83eb5ac (patch)
tree44491efeb8f1b20d1f224c3c95dbf571e25d9c90 /gcc/tree-mudflap.c
parent2ea73a7d2af583f67b8b075d143bbe376a6711de (diff)
downloadgcc-28f1e21fb9fe5d86f401da7faf733b41f83eb5ac.tar.gz
* tree-mudflap.c (mf_xform_derefs_1): Add parentheses around TREE_TYPE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@117575 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-mudflap.c')
-rw-r--r--gcc/tree-mudflap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-mudflap.c b/gcc/tree-mudflap.c
index 4bca1f46b10..54cedb844a3 100644
--- a/gcc/tree-mudflap.c
+++ b/gcc/tree-mudflap.c
@@ -819,7 +819,7 @@ mf_xform_derefs_1 (block_stmt_iterator *iter, tree *tp,
size = DECL_SIZE_UNIT (field);
if (elt)
- elt = build1 (ADDR_EXPR, build_pointer_type TREE_TYPE (elt), elt);
+ elt = build1 (ADDR_EXPR, build_pointer_type (TREE_TYPE (elt)), elt);
addr = fold_convert (ptr_type_node, elt ? elt : base);
addr = fold_build2 (PLUS_EXPR, ptr_type_node,
addr, fold_convert (ptr_type_node,