summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.misc-tests
diff options
context:
space:
mode:
authorhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>2002-04-03 02:01:31 +0000
committerhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>2002-04-03 02:01:31 +0000
commitdf40bb170d6993085f1c22d4618968675b8b118a (patch)
tree222f83db4b8cfe41e15c6ebc0a0ae591bc79feee /gcc/testsuite/gcc.misc-tests
parent706410a439a80af6dda044dc7b400d74b030b6e1 (diff)
downloadgcc-df40bb170d6993085f1c22d4618968675b8b118a.tar.gz
* g77.dg/bprob/bprob.exp: Skip for mmix-*-* and cris-*-*.
* g++.dg/bprob/bprob.exp, gcc.misc-tests/bprob.exp: Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51772 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.misc-tests')
-rw-r--r--gcc/testsuite/gcc.misc-tests/bprob.exp9
1 files changed, 8 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.misc-tests/bprob.exp b/gcc/testsuite/gcc.misc-tests/bprob.exp
index c0957fd0ed7..d6c5d17d802 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