aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Froyd <froydnj@codesourcery.com>2007-08-03 16:07:58 +0000
committerNathan Froyd <froydnj@gcc.gnu.org>2007-08-03 16:07:58 +0000
commit7475160c8db55a1893abbfcdb9c926a5c0370c41 (patch)
tree7f8958ce6354265f211e849ec23ff323331d6f19
parent5f732aba81092ecd868dd1cc56c1db569c362a71 (diff)
downloadgcc-7475160c8db55a1893abbfcdb9c926a5c0370c41.zip
gcc-7475160c8db55a1893abbfcdb9c926a5c0370c41.tar.gz
gcc-7475160c8db55a1893abbfcdb9c926a5c0370c41.tar.bz2
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
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gcc.dg/tree-ssa/loop-1.c4
-rw-r--r--gcc/testsuite/gcc.dg/weak/typeof-2.c2
3 files changed, 9 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 0952f03..892eb9c 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -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
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/loop-1.c b/gcc/testsuite/gcc.dg/tree-ssa/loop-1.c
index bec86be..edbee00 100644
--- a/gcc/testsuite/gcc.dg/tree-ssa/loop-1.c
+++ b/gcc/testsuite/gcc.dg/tree-ssa/loop-1.c
@@ -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-*-* } } } */
-
-
diff --git a/gcc/testsuite/gcc.dg/weak/typeof-2.c b/gcc/testsuite/gcc.dg/weak/typeof-2.c
index be9b53b..31d577f 100644
--- a/gcc/testsuite/gcc.dg/weak/typeof-2.c
+++ b/gcc/testsuite/gcc.dg/weak/typeof-2.c
@@ -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" } */