+2008-04-24 Jakub Jelinek <jakub@redhat.com>
+
+ PR target/36015
+ * config/i386/i386.c (init_cumulative_args): Don't pass anything
+ in registers for -m32 only if stdarg_p (fntype).
+
2008-04-24 Uros Bizjak <ubizjak@gmail.com>
PR rtl-optimization/36006
+2008-04-24 Jakub Jelinek <jakub@redhat.com>
+
+ PR target/36015
+ * gcc.dg/pr36015.c: New test.
+
2008-04-24 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
PR rtl-optimization/36006
--- /dev/null
+/* PR target/36015 */
+/* { dg-do run } */
+/* { dg-options "-O0" } */
+/* { dg-options "-O0 -mregparm=3" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */
+
+static int test ();
+
+int
+main (void)
+{
+ test (0, 1, 2, 3, 4, 5, 6, 7);
+ return 0;
+}
+
+static int
+test (int a, int b, int c, int d, int e, int f, int g, int h)
+{
+ if (a != 0 || b != 1 || c != 2 || d != 3
+ || e != 4 || f != 5 || g != 6 || h != 7)
+ __builtin_abort ();
+ return 0;
+}