20030123-1.c: Add -fno-omit-frame-pointer option.
authorUlrich Weigand <uweigand@de.ibm.com>
Thu, 22 Jan 2004 00:05:36 +0000 (00:05 +0000)
committerUlrich Weigand <uweigand@gcc.gnu.org>
Thu, 22 Jan 2004 00:05:36 +0000 (00:05 +0000)
* gcc.dg/20030123-1.c: Add -fno-omit-frame-pointer option.  Do not
clobber frame pointer register in asm statement.

From-SVN: r76317

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/20030123-1.c

index 35f795306b650b2cf64b7a7a78d577e28d966fc3..7ebdb67715e0a825943e98e85c82d182796c7596 100644 (file)
@@ -1,3 +1,8 @@
+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.
index 1f5858808c42f1b7c83a65b59185e0f2b44ec4fc..e4e49ab0916b09bc21a967e6aa78bf15a67145a0 100644 (file)
@@ -1,7 +1,7 @@
 /* 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);
 }