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
This commit is contained in:
Jason Merrill 2000-03-08 22:50:54 +00:00 committed by Jason Merrill
parent 6814a8a0bb
commit 602b1b13d7
2 changed files with 8 additions and 3 deletions

View File

@ -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.

View File

@ -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 {