diff options
author | Zack Weinberg <zack@gcc.gnu.org> | 2001-12-17 04:19:08 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 2001-12-17 04:19:08 +0000 |
commit | a094954eba863d3476d0dea4e2cf251717071574 (patch) | |
tree | c1effec53b990bea342d12db02faa384fb985d8e /gcc/fold-const.c | |
parent | a5b2a65b97966b01b2403e083a0bf49a4e05cf0a (diff) | |
download | gcc-a094954eba863d3476d0dea4e2cf251717071574.zip gcc-a094954eba863d3476d0dea4e2cf251717071574.tar.gz gcc-a094954eba863d3476d0dea4e2cf251717071574.tar.bz2 |
c-typeck.c (error_init, [...]): Call gettext on argument before printing.
* c-typeck.c (error_init, pedwarn_init, warning_init): Call
gettext on argument before printing.
* fold-const.c (negate_expr): Always call fold on new
NEGATE_EXPR.
From-SVN: r48087
Diffstat (limited to 'gcc/fold-const.c')
-rw-r--r-- | gcc/fold-const.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fold-const.c b/gcc/fold-const.c index 79387fb..ce93a03 100644 --- a/gcc/fold-const.c +++ b/gcc/fold-const.c @@ -1382,7 +1382,7 @@ negate_expr (t) break; } - return convert (type, build1 (NEGATE_EXPR, TREE_TYPE (t), t)); + return convert (type, fold (build1 (NEGATE_EXPR, TREE_TYPE (t), t))); } /* Split a tree IN into a constant, literal and variable parts that could be |