diff options
author | Kazu Hirata <kazu@codesourcery.com> | 2005-06-26 21:21:34 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2005-06-26 21:21:34 +0000 |
commit | 987b67bc5502c1c826bcb6c6b41728d6e038c96f (patch) | |
tree | 2b44df571f1322c6e8919fb2cb0153a1b07bc292 /gcc/c-decl.c | |
parent | d967c45e83d3d79e100f88a5ed26c63c33e91754 (diff) | |
download | gcc-987b67bc5502c1c826bcb6c6b41728d6e038c96f.zip gcc-987b67bc5502c1c826bcb6c6b41728d6e038c96f.tar.gz gcc-987b67bc5502c1c826bcb6c6b41728d6e038c96f.tar.bz2 |
builtins.c, [...]: Use fold_buildN instead of fold (buildN (...)).
* builtins.c, c-common.c, c-convert.c, c-decl.c, c-typeck.c,
convert.c, lambda-code.c, predict.c, tree-cfg.c,
tree-complex.c, tree-data-ref.c, tree-if-conv.c,
tree-mudflap.c, tree-scalar-evolution.c, tree-ssa-ccp.c,
tree-ssa-loop-ivcanon.c, tree-ssa-loop-ivopts.c,
tree-ssa-loop-manip.c, tree-ssa-phiopt.c, tree-ssa-pre.c,
tree-vect-analyze.c, tree-vect-transform.c, tree-vectorizer.c,
tree.c: Use fold_buildN instead of fold (buildN (...)).
From-SVN: r101338
Diffstat (limited to 'gcc/c-decl.c')
-rw-r--r-- | gcc/c-decl.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c index 9ed4ade..4d48792 100644 --- a/gcc/c-decl.c +++ b/gcc/c-decl.c @@ -4180,10 +4180,10 @@ grokdeclarator (const struct c_declarator *declarator, - 1. Do the calculation in index_type, so that if it is a variable the computations will be done in the proper mode. */ - itype = fold (build2 (MINUS_EXPR, index_type, - convert (index_type, size), - convert (index_type, - size_one_node))); + itype = fold_build2 (MINUS_EXPR, index_type, + convert (index_type, size), + convert (index_type, + size_one_node)); /* If that overflowed, the array is too big. ??? While a size of INT_MAX+1 technically shouldn't |