Commit f59dcd4b by Ulrich Weigand Committed by Ulrich Weigand

20030123-1.c: Add -fno-omit-frame-pointer option.

	* gcc.dg/20030123-1.c: Add -fno-omit-frame-pointer option.  Do not
	clobber frame pointer register in asm statement.

From-SVN: r76317
parent 3c2426b9
2004-01-22 Ulrich Weigand <uweigand@de.ibm.com>
* gcc.dg/20030123-1.c: Add -fno-omit-frame-pointer option. Do not
clobber frame pointer register in asm statement.
2004-01-21 Falk Hueffner <falk@debian.org>
* gcc.c-torture/compile/20040121-1.c: New test.
......
/* This used to ICE due to a reload bug on s390*. */
/* { dg-do compile { target s390*-*-* } } */
/* { dg-options "-O2" } */
/* { dg-options "-O2 -fno-omit-frame-pointer" } */
void func (char *p);
......@@ -10,7 +10,7 @@ void test (void)
char *p = alloca (4096);
long idx;
asm ("" : "=r" (idx) : : "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12");
asm ("" : "=r" (idx) : : "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "12");
func (p + idx + 1);
}
......
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