loop-1.c: Skip on powerpc targets if -mlongcall.
authorNathan Froyd <froydnj@codesourcery.com>
Fri, 3 Aug 2007 16:07:58 +0000 (16:07 +0000)
committerNathan Froyd <froydnj@gcc.gnu.org>
Fri, 3 Aug 2007 16:07:58 +0000 (16:07 +0000)
* gcc.dg/tree-ssa/loop-1.c: Skip on powerpc targets if -mlongcall.
* gcc.dg/weak/typeof-2.c: Likewise.

From-SVN: r127182

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/loop-1.c
gcc/testsuite/gcc.dg/weak/typeof-2.c

index 0952f03..892eb9c 100644 (file)
@@ -1,3 +1,8 @@
+2007-08-03  Nathan Froyd  <froydnj@codesourcery.com>
+
+       * gcc.dg/tree-ssa/loop-1.c: Skip on powerpc targets if -mlongcall.
+       * gcc.dg/weak/typeof-2.c: Likewise.
+
 2007-08-03  Diego Novillo  <dnovillo@google.com>
 
        PR 31521
index bec86be..edbee00 100644 (file)
@@ -1,4 +1,6 @@
 /* { dg-do compile } */
+/* -mlongcall will cause us to place &foo in the CTR register.  */
+/* { dg-skip-if "" { powerpc*-*-* } { "-mlongcall" } { "" } } */
 /* { dg-options "-O1 -ftree-loop-ivcanon -funroll-loops -fdump-tree-ivcanon-details -fdump-tree-cunroll-details -fdump-tree-optimized" } */
 
 /* On 31-bit S/390 the function address will be stored (once) in the literal pool,
@@ -43,5 +45,3 @@ void xxx(void)
 /* { dg-final { scan-assembler-times "jsr|blink\ttr?,r18"  5 { target sh*-*-* } } } */
 /* { dg-final { scan-assembler-times "Jsr \\\$r" 5 { target cris-*-* } } } */
 /* { dg-final { scan-assembler-times "\[jb\]sr" 5 { target fido-*-* m68k-*-* } } } */
-
-
index be9b53b..31d577f 100644 (file)
@@ -1,5 +1,7 @@
 /* Test typeof with __asm redirection. */
 /* { dg-do compile } */
+/* -mlongcall will cause us to place &baz3 in the CTR register.  */
+/* { dg-skip-if "" { powerpc*-*-* } { "-mlongcall" } { "" } } */
 /* { dg-require-weak "" } */
 /* { dg-require-alias "" } */
 /* { dg-options "-O2" } */