gcc/testsuite/ChangeLog:
2016-05-21 Kugan Vivekanandarajah <kuganv@linaro.org>
PR middle-end/71179
* gcc.dg/tree-ssa/pr71179.c: New test.
gcc/ChangeLog:
2016-05-21 Kugan Vivekanandarajah <kuganv@linaro.org>
PR middle-end/71179
* tree-ssa-reassoc.c (transform_add_to_multiply): Disallow float
VECTOR type.
From-SVN: r236554
+2016-05-21 Kugan Vivekanandarajah <kuganv@linaro.org>
+
+ PR middle-end/71179
+ * tree-ssa-reassoc.c (transform_add_to_multiply): Disallow float
+ VECTOR type.
+
2016-05-20 Eric Botcazou <ebotcazou@adacore.com>
* tree-vrp.c (compare_values_warnv): Simplify handling of symbolic
+2016-05-21 Kugan Vivekanandarajah <kuganv@linaro.org>
+
+ PR middle-end/71179
+ * gcc.dg/tree-ssa/pr71179.c: New test.
+
2016-05-20 Martin Sebor <msebor@redhat.com>
PR c/71115
--- /dev/null
+
+/* { dg-do compile } */
+/* { dg-options "-O3 -ffast-math" } */
+
+typedef float __m128 __attribute__ ((__vector_size__ (16), __may_alias__));
+
+__m128 foo (__m128 a)
+{
+ return a + a;
+}
bool changed = false;
if (!INTEGRAL_TYPE_P (TREE_TYPE ((*ops)[0]->op))
- && !flag_unsafe_math_optimizations)
+ && (!SCALAR_FLOAT_TYPE_P (TREE_TYPE ((*ops)[0]->op))
+ || !flag_unsafe_math_optimizations))
return false;
/* Look for repeated operands. */