aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJanis Johnson <janis187@us.ibm.com>2002-12-31 20:00:44 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2002-12-31 20:00:44 +0000
commit5dc25517f99e65002605b759231057f24c842406 (patch)
tree918e251e0ac8934fecf4e9391f540aa18da77834
parent3cfabe60d4c8f85750afa5cf61a66a13a1140097 (diff)
downloadgcc-5dc25517f99e65002605b759231057f24c842406.zip
gcc-5dc25517f99e65002605b759231057f24c842406.tar.gz
gcc-5dc25517f99e65002605b759231057f24c842406.tar.bz2
profopt.exp: Change the name of a global variable to avoid possible clashes with other test...
* lib/profopt.exp: Change the name of a global variable to avoid possible clashes with other test suites. From-SVN: r60711
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/lib/profopt.exp6
2 files changed, 8 insertions, 3 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index b63e008..151af2a 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2002-12-31 Janis Johnson <janis187@us.ibm.com>
+
+ * lib/profopt.exp: Change the name of a global variable to avoid
+ possible clashes with other test suites.
+
2002-12-31 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/inherit/covariant8.C: New test.
diff --git a/gcc/testsuite/lib/profopt.exp b/gcc/testsuite/lib/profopt.exp
index 5ecf3149..4d32ff2 100644
--- a/gcc/testsuite/lib/profopt.exp
+++ b/gcc/testsuite/lib/profopt.exp
@@ -66,7 +66,7 @@ if ![info exists PROFOPT_OPTIONS] {
{ -Os } ]
}
-set option_list $PROFOPT_OPTIONS
+set prof_option_list $PROFOPT_OPTIONS
#
# profopt-cleanup -- remove profiling or performance results files.
@@ -126,7 +126,7 @@ proc profopt-perf-value { testcase perf_ext optstr } {
#
proc profopt-execute { src } {
global srcdir tmpdir
- global option_list
+ global prof_option_list
global tool profile_option feedback_option prof_ext perf_ext perf_delta
global verbose
@@ -142,7 +142,7 @@ proc profopt-execute { src } {
set executable $tmpdir/[file tail [file rootname $src].x]
set count 0
- foreach option $option_list {
+ foreach option $prof_option_list {
set execname1 "${executable}${count}1"
set execname2 "${executable}${count}2"
set execname3 "${executable}${count}3"