* tree-mudflap.c (mf_xform_derefs_1): Add parentheses around TREE_TYPE.

From-SVN: r117575
This commit is contained in:
Aldy Hernandez 2006-10-09 13:58:10 +00:00 committed by Aldy Hernandez
parent c9a5bd5421
commit f4935db5d7
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2006-10-09 Aldy Hernandez <aldyh@redhat.com>
* tree-mudflap.c (mf_xform_derefs_1): Add parentheses around TREE_TYPE.
2006-10-08 Richard Sandiford <richard@codesourcery.com>
* config/mips/mips.c (mips_legitimize_tls_address): Implement

View File

@ -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,