PR c/47809
* c-common.c (c_fully_fold_internal): Handle VIEW_CONVERT_EXPR.
* gcc.target/i386/pr47809.c: New test.
From-SVN: r170323
+2011-02-19 Jakub Jelinek <jakub@redhat.com>
+
+ PR c/47809
+ * c-common.c (c_fully_fold_internal): Handle VIEW_CONVERT_EXPR.
+
2011-02-17 Iain Sandoe <iains@gcc.gnu.org>
* c.opt (fobjc-abi-version=) New.
case FIX_TRUNC_EXPR:
case FLOAT_EXPR:
CASE_CONVERT:
+ case VIEW_CONVERT_EXPR:
case NON_LVALUE_EXPR:
case NEGATE_EXPR:
case BIT_NOT_EXPR:
+2011-02-19 Jakub Jelinek <jakub@redhat.com>
+
+ PR c/47809
+ * gcc.target/i386/pr47809.c: New test.
+
2011-02-19 Jerry DeLisle <jvdelisle@gcc.gnu.org>
Tobias Burnus <burnus@net-b.de>
--- /dev/null
+/* PR c/47809 */
+/* { dg-do compile } */
+/* { dg-options "-O2 -msse2" } */
+
+#include <emmintrin.h>
+double bar (double, double);
+
+__m128d
+foo (__m128d x)
+{
+ x *= (__m128d) { bar (1.0, 1.0), 0.0 };
+ return (__m128d) ((__m128i) x ^ (__m128i) { 0, 0});
+}