* config/mips/mips.c (mips_gimplify_va_arg_expr): Use -rsize
with the same type as the first operand of the AND expression.
testsuite/
* gcc.c-torture/compile/
20081119-1.c: New test.
From-SVN: r142024
+2008-11-19 Adam Nemet <anemet@caviumnetworks.com>
+
+ * config/mips/mips.c (mips_gimplify_va_arg_expr): Use -rsize
+ with the same type as the first operand of the AND expression.
+
2008-11-19 Vladimir Makarov <vmakarov@redhat.com>
PR bootstrap/37859
{
/* [1] Emit code for: off &= -rsize. */
t = build2 (BIT_AND_EXPR, TREE_TYPE (off), off,
- build_int_cst (NULL_TREE, -rsize));
+ build_int_cst (TREE_TYPE (off), -rsize));
gimplify_assign (off, t, pre_p);
}
osize = rsize;
+2008-11-19 Adam Nemet <anemet@caviumnetworks.com>
+
+ * gcc.c-torture/compile/20081119-1.c: New test.
+
2008-11-19 Dodji Seketeli <dodji@redhat.com>
PR c++/35405
--- /dev/null
+unsigned long long
+f (__builtin_va_list ap)
+{
+ return __builtin_va_arg (ap, unsigned long long);
+}