aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMatthew Sachs <msachs@apple.com>2005-03-05 00:27:04 +0000
committerMatthew Sachs <matthewg@gcc.gnu.org>2005-03-05 00:27:04 +0000
commite38f9c2136db6afd03183fef26e3085ea7d9e4ee (patch)
treefba08eaf39d04d6876269ea14bbc3f16fa150d4d /gcc
parentf4e4284dcccf30faabdb7d56eb9481717c9eb535 (diff)
downloadgcc-e38f9c2136db6afd03183fef26e3085ea7d9e4ee.zip
gcc-e38f9c2136db6afd03183fef26e3085ea7d9e4ee.tar.gz
gcc-e38f9c2136db6afd03183fef26e3085ea7d9e4ee.tar.bz2
gcc.exp (gcc_target_compile): Put braces around additional_flags=$TOOL_OPTIONS...
* gcc.exp (gcc_target_compile): Put braces around additional_flags=$TOOL_OPTIONS; allows for whitespace in $TOOL_OPTIONS. * objc.exp (objc_target_compile): Likewise. * treelang.exp (treelang_target_compile): Likewise. From-SVN: r95912
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog7
-rw-r--r--gcc/testsuite/lib/gcc.exp2
-rw-r--r--gcc/testsuite/lib/objc.exp2
-rw-r--r--gcc/testsuite/lib/treelang.exp2
4 files changed, 10 insertions, 3 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index bf945a0..e1c73df 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,10 @@
+2005-03-04 Matthew Sachs <msachs@apple.com>
+
+ * gcc.exp (gcc_target_compile): Put braces around
+ additional_flags=$TOOL_OPTIONS; allows for whitespace in $TOOL_OPTIONS.
+ * objc.exp (objc_target_compile): Likewise.
+ * treelang.exp (treelang_target_compile): Likewise.
+
2005-03-04 Tobias Schl"uter <tobias.schlueter@physik.uni-muenchen.de>
PR fortran/19673
diff --git a/gcc/testsuite/lib/gcc.exp b/gcc/testsuite/lib/gcc.exp
index 2f55338..f0dc240 100644
--- a/gcc/testsuite/lib/gcc.exp
+++ b/gcc/testsuite/lib/gcc.exp
@@ -139,7 +139,7 @@ proc gcc_target_compile { source dest type options } {
# TOOL_OPTIONS must come first, so that it doesn't override testcase
# specific options.
if [info exists TOOL_OPTIONS] {
- set options [concat "additional_flags=$TOOL_OPTIONS" $options];
+ set options [concat "{additional_flags=$TOOL_OPTIONS}" $options];
}
if [target_info exists gcc,timeout] {
lappend options "timeout=[target_info gcc,timeout]"
diff --git a/gcc/testsuite/lib/objc.exp b/gcc/testsuite/lib/objc.exp
index c9e6161..5041b70 100644
--- a/gcc/testsuite/lib/objc.exp
+++ b/gcc/testsuite/lib/objc.exp
@@ -162,7 +162,7 @@ proc objc_target_compile { source dest type options } {
# TOOL_OPTIONS must come first, so that it doesn't override testcase
# specific options.
if [info exists TOOL_OPTIONS] {
- set options [concat "additional_flags=$TOOL_OPTIONS" $options];
+ set options [concat "{additional_flags=$TOOL_OPTIONS}" $options];
}
# If we have built libobjc along with the compiler (which usually
diff --git a/gcc/testsuite/lib/treelang.exp b/gcc/testsuite/lib/treelang.exp
index 9b22534..dfce3d8 100644
--- a/gcc/testsuite/lib/treelang.exp
+++ b/gcc/testsuite/lib/treelang.exp
@@ -153,7 +153,7 @@ proc treelang_target_compile { source dest type options } {
# TOOL_OPTIONS must come first, so that it doesn't override testcase
# specific options.
if [info exists TOOL_OPTIONS] {
- set options [concat "additional_flags=$TOOL_OPTIONS" $options];
+ set options [concat "{additional_flags=$TOOL_OPTIONS}" $options];
}
# If we have built libtreelang along with the compiler (which usually