loop-1.c: Skip on powerpc targets if -mlongcall.

* gcc.dg/tree-ssa/loop-1.c: Skip on powerpc targets if -mlongcall.
	* gcc.dg/weak/typeof-2.c: Likewise.

From-SVN: r127182
This commit is contained in:
Nathan Froyd 2007-08-03 16:07:58 +00:00 committed by Nathan Froyd
parent 5f732aba81
commit 7475160c8d
3 changed files with 9 additions and 2 deletions

View 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

View 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-*-* } } } */

View 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" } */