8sa1-gcc/gcc/testsuite/gcc.c-torture/compile/20000804-1.c
J"orn Rennecke 018577e426 function.c (schedule_fixup_var_refs): New function, broken out of put_reg_into_stack.
* function.c (schedule_fixup_var_refs): New function, broken out
	of put_reg_into_stack.
	(put_reg_into_stack): Use it.
	(put_var_into_stack): In CONCAT case, fixup up references for
	components only after fixing up references to the whole concat.
testsuite:
	* gcc.c-torture/execute/20000804-1.c: New test.

From-SVN: r35495
2000-08-04 23:06:49 +01:00

13 lines
206 B
C

/* Copyright (C) 2000 Free Software Foundation */
__complex__ long long f ()
{
int i[99];
__complex__ long long v;
v += f ();
asm("": "+r" (v) : "r" (0), "r" (1));
v = 2;
return v;
g (&v);
}