aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJason Merrill <jason@casey.cygnus.com>2000-03-08 22:50:54 +0000
committerJason Merrill <jason@gcc.gnu.org>2000-03-08 17:50:54 -0500
commit602b1b13d794eb93a93c5fd52bfd4191c8dae9c0 (patch)
treed29c2b1130155251430be4bdd6ebc80b24b00374 /gcc
parent6814a8a0bbfca8cd39b2e68ab74a1f3bd2e19c5a (diff)
downloadgcc-602b1b13d794eb93a93c5fd52bfd4191c8dae9c0.zip
gcc-602b1b13d794eb93a93c5fd52bfd4191c8dae9c0.tar.gz
gcc-602b1b13d794eb93a93c5fd52bfd4191c8dae9c0.tar.bz2
g++.exp (g++_init): Don't put { } around -fmessage-length=0.
* lib/g++.exp (g++_init): Don't put { } around -fmessage-length=0. (g++_target_compile): Put test-specific options last. From-SVN: r32433
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/lib/g++.exp6
2 files changed, 8 insertions, 3 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 146c2b6..d6d3feb 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2000-03-08 Jason Merrill <jason@casey.cygnus.com>
+
+ * lib/g++.exp (g++_init): Don't put { } around -fmessage-length=0.
+ (g++_target_compile): Put test-specific options last.
+
2000-03-08 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.eh/vbase4.C: New test.
diff --git a/gcc/testsuite/lib/g++.exp b/gcc/testsuite/lib/g++.exp
index 27cbd8a..917a063 100644
--- a/gcc/testsuite/lib/g++.exp
+++ b/gcc/testsuite/lib/g++.exp
@@ -133,7 +133,7 @@ proc g++_init { args } {
# Make sure that lines are not wrapped. That can confuse the
# error-message parsing machinery.
- lappend ALWAYS_CXXFLAGS "additional_flags={-fmessage-length=0}"
+ lappend ALWAYS_CXXFLAGS "additional_flags=-fmessage-length=0"
verbose -log "ALWAYS_CXXFLAGS set to $ALWAYS_CXXFLAGS"
@@ -156,9 +156,9 @@ proc g++_target_compile { source dest type options } {
lappend options "additional_flags=[libio_include_flags]"
lappend options "compiler=$GXX_UNDER_TEST";
- set options [concat $options $gpp_compile_options]
+ set options [concat $gpp_compile_options $options]
- set options [concat $options "$ALWAYS_CXXFLAGS"];
+ set options [concat "$ALWAYS_CXXFLAGS" $options];
if { [regexp "(^| )-frepo( |$)" $options] && \
[regexp "\.o(|bj)$" $dest] } then {