aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-mudflap.c
diff options
context:
space:
mode:
authorAldy Hernandez <aldyh@redhat.com>2006-10-09 13:58:10 +0000
committerAldy Hernandez <aldyh@gcc.gnu.org>2006-10-09 13:58:10 +0000
commitf4935db5d7edf4a64116e7249dea65b6c654743f (patch)
tree44491efeb8f1b20d1f224c3c95dbf571e25d9c90 /gcc/tree-mudflap.c
parentc9a5bd54213b158bab770cdcef8fc335d8eb1efb (diff)
downloadgcc-f4935db5d7edf4a64116e7249dea65b6c654743f.zip
gcc-f4935db5d7edf4a64116e7249dea65b6c654743f.tar.gz
gcc-f4935db5d7edf4a64116e7249dea65b6c654743f.tar.bz2
* tree-mudflap.c (mf_xform_derefs_1): Add parentheses around TREE_TYPE.
From-SVN: r117575
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 4bca1f4..54cedb8 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,