Commit 0d9a7d79 by Andreas Jaeger Committed by Andreas Jaeger

20000519-1.c: Testcase from Ulrich Drepper which fails with SSA.

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
parent 6c80c45e
2000-05-19 Andreas Jaeger <aj@suse.de> 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. * lib/c-torture.exp: Also test with -O3 -fssa.
2000-05-18 Michael Meissner <meissner@redhat.com> 2000-05-18 Michael Meissner <meissner@redhat.com>
......
#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);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment