2000-05-19 Andreas Jaeger <aj@suse.de>
* gcc.c-torture/execute/
20000519-1.c: Testcase from Ulrich Drepper
which fails with SSA.
From-SVN: r34029
2000-05-19 Andreas Jaeger <aj@suse.de>
+ * gcc.c-torture/execute/20000519-1.c: Testcase from Ulrich Drepper
+ which fails with SSA.
+
* lib/c-torture.exp: Also test with -O3 -fssa.
2000-05-18 Michael Meissner <meissner@redhat.com>
--- /dev/null
+#include <stdarg.h>
+
+int
+bar (int a, va_list ap)
+{
+ int b;
+
+ do
+ b = va_arg (ap, int);
+ while (b > 10);
+
+ return a + b;
+}
+
+int
+foo (int a, ...)
+{
+ va_list ap;
+
+ va_start (ap, a);
+ return bar (a, ap);
+}
+
+int
+main ()
+{
+ return foo (1, 2, 3);
+}