PR c++/28302
* typeck.c (build_unary_op <case BIT_NOT_EXPR:>): Don't call
perform_integral_promotions for non integral type
2006-08-16 Andrew Pinski <pinskia@physics.uc.edu>
PR C++/28302
* g++.dg/ext/vector3.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116205
138bc75d-0d04-0410-961f-
82ee72b054a4
+2006-08-16 Andrew Pinski <pinskia@physics.uc.edu>
+
+ PR c++/28302
+ * typeck.c (build_unary_op <case BIT_NOT_EXPR:>): Don't call
+ perform_integral_promotions for non integral type
+
2006-08-16 Jason Merrill <jason@redhat.com>
PR c++/28385
2006-08-16 Jason Merrill <jason@redhat.com>
PR c++/28385
else if (!(arg = build_expr_type_conversion (WANT_INT | WANT_ENUM,
arg, true)))
errstring = "wrong type argument to bit-complement";
else if (!(arg = build_expr_type_conversion (WANT_INT | WANT_ENUM,
arg, true)))
errstring = "wrong type argument to bit-complement";
+ else if (!noconvert && CP_INTEGRAL_TYPE_P (TREE_TYPE (arg)))
arg = perform_integral_promotions (arg);
break;
arg = perform_integral_promotions (arg);
break;
-2006-08-16 Zdenek Dvorak <dvorakz@suse.cz>
+2006-08-16 Andrew Pinski <pinskia@physics.uc.edu>
+
+ PR C++/28302
+ * g++.dg/ext/vector3.C: New test.
+
+2006-08-16 Zdenek Dvorak <dvorakz@suse.cz>
PR gcov/profile/26570
* gcc.dg/pr26570.c: New test.
PR gcov/profile/26570
* gcc.dg/pr26570.c: New test.
--- /dev/null
+/* { dg-do compile } */
+/* { dg-options "" } */
+
+// PR c++/28302
+
+int __attribute__((vector_size(8))) x;
+
+void foo()
+{
+ ~x;
+}
+