diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e56f7382578..a8e057d0074 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2006-10-09 Aldy Hernandez + + * tree-mudflap.c (mf_xform_derefs_1): Add parentheses around TREE_TYPE. + 2006-10-08 Richard Sandiford * config/mips/mips.c (mips_legitimize_tls_address): Implement 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,