8sa1-gcc/gcc/testsuite/gcc.dg/20000629-1.c
Jakub Jelinek 46639003c8 20000606-1.c: New test.
* gcc.c-torture/compile/20000606-1.c: New test.
	* gcc.c-torture/compile/20000728-1.c: New test.
	* gcc.c-torture/execute/20000801-1.c: New test.
	* gcc.c-torture/execute/20000801-2.c: New test.
	* gcc.c-torture/execute/20000819-1.c: New test.
	* gcc.c-torture/execute/20000819-1.x: XFAIL.
	* gcc.dg/20000629-1.c: New test.
	* gcc.dg/20000724-1.c: New test.
	* gcc.dg/20000807-1.c: New test.

From-SVN: r35834
2000-08-21 10:30:38 +02:00

14 lines
170 B
C

/* { dg-do compile } */
/* { dg-options "-O2 -g" } */
void foo(register char *p)
{
char c, *q, *sp;
while (1) {
*p++=0;
sp=p+1;
c=*sp;
*p++=0;
}
}