diff options
author | reichelt <reichelt@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-08-16 12:14:10 +0000 |
---|---|---|
committer | reichelt <reichelt@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-08-16 12:14:10 +0000 |
commit | a1fbcbc1552b69b05f8d105992bd462563ac04ad (patch) | |
tree | f1b21523f1f783dce881cffb68af0c2a38ac5235 /gcc/c-typeck.c | |
parent | 60a24002b0a8431a5916fea2dc4c077217bf1528 (diff) | |
download | gcc-a1fbcbc1552b69b05f8d105992bd462563ac04ad.tar.gz |
* builtins.c (expand_builtin_strcat): Remove superfluous call to fold.
(fold_builtin_isdigit): Use fold_buildN.
(build_function_call_expr): Likewise.
* c-typeck.c (c_finish_loop): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@103154 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-typeck.c')
-rw-r--r-- | gcc/c-typeck.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/c-typeck.c b/gcc/c-typeck.c index 29d90675a71..39f682229a5 100644 --- a/gcc/c-typeck.c +++ b/gcc/c-typeck.c @@ -7086,8 +7086,7 @@ c_finish_loop (location_t start_locus, tree cond, tree incr, tree body, } t = build_and_jump (&blab); - exit = build3 (COND_EXPR, void_type_node, cond, exit, t); - exit = fold (exit); + exit = fold_build3 (COND_EXPR, void_type_node, cond, exit, t); if (cond_is_first) SET_EXPR_LOCATION (exit, start_locus); else |