2012-09-14 Marc Glisse <marc.glisse@inria.fr> PR c++/54427 gcc/ChangeLog * fold-const.c (fold_unary_loc): Disable for VECTOR_TYPE. (fold_binary_loc): Likewise. * gimple-fold.c (and_comparisons_1): Handle VECTOR_TYPE. (or_comparisons_1): Likewise. gcc/cp/ChangeLog * typeck.c (cp_build_binary_op) [LSHIFT_EXPR, RSHIFT_EXPR, EQ_EXPR, NE_EXPR, LE_EXPR, GE_EXPR, LT_EXPR, GT_EXPR]: Handle VECTOR_TYPE. gcc/testsuite/ChangeLog * g++.dg/other/vector-compare.C: New testcase. * gcc/testsuite/c-c++-common/vector-compare-3.c: New testcase. * gcc.dg/vector-shift.c: Move ... * c-c++-common/vector-shift.c: ... here. * gcc.dg/vector-shift1.c: Move ... * c-c++-common/vector-shift1.c: ... here. * gcc.dg/vector-shift3.c: Move ... * c-c++-common/vector-shift3.c: ... here. * gcc.dg/vector-compare-1.c: Move ... * c-c++-common/vector-compare-1.c: ... here. * gcc.dg/vector-compare-2.c: Move ... * c-c++-common/vector-compare-2.c: ... here. * gcc.c-torture/execute/vector-compare-1.c: Move ... * c-c++-common/torture/vector-compare-1.c: ... here. * gcc.c-torture/execute/vector-compare-2.x: Delete. * gcc.c-torture/execute/vector-compare-2.c: Move ... * c-c++-common/torture/vector-compare-2.c: ... here. * gcc.c-torture/execute/vector-shift.c: Move ... * c-c++-common/torture/vector-shift.c: ... here. * gcc.c-torture/execute/vector-shift2.c: Move ... * c-c++-common/torture/vector-shift2.c: ... here. * gcc.c-torture/execute/vector-subscript-1.c: Move ... * c-c++-common/torture/vector-subscript-1.c: ... here. * gcc.c-torture/execute/vector-subscript-2.c: Move ... * c-c++-common/torture/vector-subscript-2.c: ... here. * gcc.c-torture/execute/vector-subscript-3.c: Move ... * c-c++-common/torture/vector-subscript-3.c: ... here. From-SVN: r191308
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
complex-alias-1.c | Loading commit data... | |
complex-sign-add.c | Loading commit data... | |
complex-sign-mixed-add.c | Loading commit data... | |
complex-sign-mixed-div.c | Loading commit data... | |
complex-sign-mixed-mul.c | Loading commit data... | |
complex-sign-mixed-sub.c | Loading commit data... | |
complex-sign-mul-minus-one.c | Loading commit data... | |
complex-sign-mul-one.c | Loading commit data... | |
complex-sign-mul.c | Loading commit data... | |
complex-sign-sub.c | Loading commit data... | |
complex-sign.h | Loading commit data... | |
pr42834.c | Loading commit data... | |
pr46137.c | Loading commit data... | |
pr53505.c | Loading commit data... | |
vector-compare-1.c | Loading commit data... | |
vector-compare-2.c | Loading commit data... | |
vector-shift.c | Loading commit data... | |
vector-shift2.c | Loading commit data... | |
vector-subscript-1.c | Loading commit data... | |
vector-subscript-2.c | Loading commit data... | |
vector-subscript-3.c | Loading commit data... | |
vshuf-16.inc | Loading commit data... | |
vshuf-2.inc | Loading commit data... | |
vshuf-4.inc | Loading commit data... | |
vshuf-8.inc | Loading commit data... | |
vshuf-main.inc | Loading commit data... | |
vshuf-v16hi.c | Loading commit data... | |
vshuf-v16qi.c | Loading commit data... | |
vshuf-v2df.c | Loading commit data... | |
vshuf-v2di.c | Loading commit data... | |
vshuf-v2sf.c | Loading commit data... | |
vshuf-v2si.c | Loading commit data... | |
vshuf-v4df.c | Loading commit data... | |
vshuf-v4di.c | Loading commit data... | |
vshuf-v4hi.c | Loading commit data... | |
vshuf-v4sf.c | Loading commit data... | |
vshuf-v4si.c | Loading commit data... | |
vshuf-v8hi.c | Loading commit data... | |
vshuf-v8qi.c | Loading commit data... | |
vshuf-v8si.c | Loading commit data... |