diff options
| author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-06-15 18:55:18 +0000 |
|---|---|---|
| committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-06-15 18:55:18 +0000 |
| commit | 6758b11cdbe147d35f40049e3d31716c7c22e255 (patch) | |
| tree | caac830c9d00c0c5dec714e1584bbeae8d74ae22 /libjava/java | |
| parent | c735bacacfb312db3b12a7f72f06032711344a57 (diff) | |
| download | ppe42-gcc-6758b11cdbe147d35f40049e3d31716c7c22e255.tar.gz ppe42-gcc-6758b11cdbe147d35f40049e3d31716c7c22e255.zip | |
2006-06-15 Richard Guenther <rguenther@suse.de>
* fold-const.c (fold_truth_not_expr): Rename from
invert_truthvalue. Give it fold_* semantics to avoid
generating garbage.
(invert_truthvalue): New function. Wrapper around
fold_truth_not_expr.
(optimize_minmax_comparison): Avoid creating garbage.
(fold_unary): Use fold_truth_not_expr for folding
TRUTH_NOT_EXPR.
(fold_ternary): Replace uses of invert_truthvalue with
fold_truth_not_expr where applicable.
* tree.h (fold_truth_not_expr): Prototype.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114683 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java')
0 files changed, 0 insertions, 0 deletions

