diff options
author | Marc Glisse <marc.glisse@inria.fr> | 2013-05-14 19:06:46 +0200 |
---|---|---|
committer | Marc Glisse <glisse@gcc.gnu.org> | 2013-05-14 17:06:46 +0000 |
commit | 418d1b87fb06b2df9aecb5b8b6abf1f0a1919a88 (patch) | |
tree | 6429a6c4487e6b5b3413637f8a610234ac156ab7 /libquadmath/printf | |
parent | a5244b2ed5ccd1d1697ac1e288a9e1acc4a335cc (diff) | |
download | gcc-418d1b87fb06b2df9aecb5b8b6abf1f0a1919a88.zip gcc-418d1b87fb06b2df9aecb5b8b6abf1f0a1919a88.tar.gz gcc-418d1b87fb06b2df9aecb5b8b6abf1f0a1919a88.tar.bz2 |
fold-const.c (fold_negate_expr): Handle vectors.
2013-05-14 Marc Glisse <marc.glisse@inria.fr>
gcc/
* fold-const.c (fold_negate_expr): Handle vectors.
(fold_truth_not_expr): Make it static.
(fold_invert_truthvalue): New static function.
(invert_truthvalue_loc): Handle vectors. Do not call
fold_truth_not_expr directly.
(fold_unary_loc) <BIT_NOT_EXPR>: Handle comparisons.
<TRUTH_NOT_EXPR>: Do not cast to boolean.
(fold_comparison): Handle vector constants.
(fold_binary_loc) <TRUTH_XOR_EXPR>: Remove redundant code.
(fold_ternary_loc) <VEC_COND_EXPR>: Adapt more COND_EXPR optimizations.
* tree.h (fold_truth_not_expr): Remove declaration.
gcc/testsuite/
* g++.dg/ext/vector22.C: New testcase.
* gcc.dg/binop-xor3.c: Remove xfail.
From-SVN: r198893
Diffstat (limited to 'libquadmath/printf')
0 files changed, 0 insertions, 0 deletions