2011-04-26 Richard Guenther <rguenther@suse.de>
PR tree-optimization/48731
* gcc.dg/torture/pr48731.c: New testcase.
From-SVN: r172964
+2011-04-26 Richard Guenther <rguenther@suse.de>
+
+ PR tree-optimization/48731
+ * gcc.dg/torture/pr48731.c: New testcase.
+
2011-04-26 Richard Guenther <rguenther@suse.de>
PR testsuite/48753
--- /dev/null
+/* { dg-do compile } */
+
+#include <stdarg.h>
+
+int blah(int a, ...)
+{
+ va_list va;
+ va_start(va,a);
+ if (a == 0)
+ return -1;
+ else
+ {
+ int i;
+ for (i = 0; i < a; i++)
+ va_arg(va,int);
+ return va_arg(va,int);
+ }
+}
+
+__attribute((flatten))
+int blah2(int b, int c)
+{
+ return blah(2, b, c);
+}