diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2005-04-27 16:02:43 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2005-04-27 16:02:43 +0000 |
commit | 4845b383bb6ce1141a4aac8f7eaec14e4acf8956 (patch) | |
tree | cb76f3875be6539713ada23941496242dccb3731 /gcc/stor-layout.c | |
parent | 8fc6e9abc89e12defa8080adc2fc2117e3251dad (diff) | |
download | gcc-4845b383bb6ce1141a4aac8f7eaec14e4acf8956.zip gcc-4845b383bb6ce1141a4aac8f7eaec14e4acf8956.tar.gz gcc-4845b383bb6ce1141a4aac8f7eaec14e4acf8956.tar.bz2 |
dojump.c: Fix comment typos.
* dojump.c: Fix comment typos. emit-rtl.c, expmed.c, expr.c,
stmt.c, stor-layout.c: Use fold_buildN instead of
fold (buildN (...)).
From-SVN: r98848
Diffstat (limited to 'gcc/stor-layout.c')
-rw-r--r-- | gcc/stor-layout.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/stor-layout.c b/gcc/stor-layout.c index b0cc42e..41d3165 100644 --- a/gcc/stor-layout.c +++ b/gcc/stor-layout.c @@ -746,9 +746,9 @@ place_union_field (record_layout_info rli, tree field) if (TREE_CODE (rli->t) == UNION_TYPE) rli->offset = size_binop (MAX_EXPR, rli->offset, DECL_SIZE_UNIT (field)); else if (TREE_CODE (rli->t) == QUAL_UNION_TYPE) - rli->offset = fold (build3 (COND_EXPR, sizetype, - DECL_QUALIFIER (field), - DECL_SIZE_UNIT (field), rli->offset)); + rli->offset = fold_build3 (COND_EXPR, sizetype, + DECL_QUALIFIER (field), + DECL_SIZE_UNIT (field), rli->offset); } #if defined (PCC_BITFIELD_TYPE_MATTERS) || defined (BITFIELD_NBYTES_LIMITED) @@ -1641,9 +1641,9 @@ layout_type (tree type) that (possible) negative values are handled appropriately. */ length = size_binop (PLUS_EXPR, size_one_node, fold_convert (sizetype, - fold (build2 (MINUS_EXPR, - TREE_TYPE (lb), - ub, lb)))); + fold_build2 (MINUS_EXPR, + TREE_TYPE (lb), + ub, lb))); /* Special handling for arrays of bits (for Chill). */ element_size = TYPE_SIZE (element); |