* tree-mudflap.c (mf_xform_derefs_1): Add parentheses around TREE_TYPE.
From-SVN: r117575
This commit is contained in:
parent
c9a5bd5421
commit
f4935db5d7
@ -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
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user