aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@bitrange.com>2002-04-03 02:01:31 +0000
committerHans-Peter Nilsson <hp@gcc.gnu.org>2002-04-03 02:01:31 +0000
commitd32c91705de3d841922e57f920c7cbe86c71b122 (patch)
tree222f83db4b8cfe41e15c6ebc0a0ae591bc79feee
parente78c4529cb765a3e6772d668453688bd58686b5a (diff)
downloadgcc-d32c91705de3d841922e57f920c7cbe86c71b122.zip
gcc-d32c91705de3d841922e57f920c7cbe86c71b122.tar.gz
gcc-d32c91705de3d841922e57f920c7cbe86c71b122.tar.bz2
bprob.exp: Skip for mmix-*-* and cris-*-*.
* g77.dg/bprob/bprob.exp: Skip for mmix-*-* and cris-*-*. * g++.dg/bprob/bprob.exp, gcc.misc-tests/bprob.exp: Ditto. From-SVN: r51772
-rw-r--r--gcc/testsuite/ChangeLog3
-rw-r--r--gcc/testsuite/g++.dg/bprob/bprob.exp7
-rw-r--r--gcc/testsuite/g77.dg/bprob/bprob.exp9
-rw-r--r--gcc/testsuite/gcc.misc-tests/bprob.exp9
4 files changed, 26 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 30b2666..b8c6d50 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,5 +1,8 @@
2002-04-03 Hans-Peter Nilsson <hp@bitrange.com>
+ * g77.dg/bprob/bprob.exp: Skip for mmix-*-* and cris-*-*.
+ * g++.dg/bprob/bprob.exp, gcc.misc-tests/bprob.exp: Ditto.
+
* g77.dg/f77-edit-i-in.f: xfail for mmix-knuth-mmixware.
* g77.f-torture/execute/io0.x, g77.f-torture/execute/io1.x,
g77.f-torture/execute/20001201.x,
diff --git a/gcc/testsuite/g++.dg/bprob/bprob.exp b/gcc/testsuite/g++.dg/bprob/bprob.exp
index 357ed29..7249540 100644
--- a/gcc/testsuite/g++.dg/bprob/bprob.exp
+++ b/gcc/testsuite/g++.dg/bprob/bprob.exp
@@ -17,6 +17,13 @@
# Test the functionality of programs compiled with profile-directed block
# ordering using -fprofile-arcs followed by -fbranch-probabilities.
+# Some targets don't have any implementation of __bb_init_func or are
+# missing other needed machinery.
+if { [istarget mmix-*-*]
+ || [istarget cris-*-*] } {
+ return
+}
+
# The procedures in profopt.exp need these parameters.
set tool g++
set profile_option -fprofile-arcs
diff --git a/gcc/testsuite/g77.dg/bprob/bprob.exp b/gcc/testsuite/g77.dg/bprob/bprob.exp
index cf46707..7e5629d 100644
--- a/gcc/testsuite/g77.dg/bprob/bprob.exp
+++ b/gcc/testsuite/g77.dg/bprob/bprob.exp
@@ -1,4 +1,4 @@
-# Copyright (C) 2001 Free Software Foundation, Inc.
+# Copyright (C) 2001, 2002 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -17,6 +17,13 @@
# Test the functionality of programs compiled with profile-directed block
# ordering using -fprofile-arcs followed by -fbranch-probabilities.
+# Some targets don't have any implementation of __bb_init_func or are
+# missing other needed machinery.
+if { [istarget mmix-*-*]
+ || [istarget cris-*-*] } {
+ return
+}
+
# The procedures in profopt.exp need these parameters.
set tool g77
set profile_option -fprofile-arcs
diff --git a/gcc/testsuite/gcc.misc-tests/bprob.exp b/gcc/testsuite/gcc.misc-tests/bprob.exp
index c0957fd..d6c5d17 100644
--- a/gcc/testsuite/gcc.misc-tests/bprob.exp
+++ b/gcc/testsuite/gcc.misc-tests/bprob.exp
@@ -1,4 +1,4 @@
-# Copyright (C) 2001 Free Software Foundation, Inc.
+# Copyright (C) 2001, 2002 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -17,6 +17,13 @@
# Test the functionality of programs compiled with profile-directed block
# ordering using -fprofile-arcs followed by -fbranch-probabilities.
+# Some targets don't have any implementation of __bb_init_func or are
+# missing other needed machinery.
+if { [istarget mmix-*-*]
+ || [istarget cris-*-*] } {
+ return
+}
+
# The procedures in profopt.exp need these parameters.
set tool gcc
set profile_option -fprofile-arcs