old-dejagnu.exp (old-dejagnu): ignore collect recompiling and relinking messages
* lib/old-dejagnu.exp (old-dejagnu): ignore collect recompiling and relinking messages * lib/g++.exp (g++_target_compile): remove .rpo file when compiling with -frepo From-SVN: r24069
This commit is contained in:
parent
39cec1ac5a
commit
16fe4796d6
|
@ -1,3 +1,10 @@
|
|||
1998-12-03 Alexandre Oliva <oliva@dcc.unicamp.br>
|
||||
|
||||
* lib/old-dejagnu.exp (old-dejagnu): ignore collect recompiling
|
||||
and relinking messages
|
||||
* lib/g++.exp (g++_target_compile): remove .rpo file when
|
||||
compiling with -frepo
|
||||
|
||||
1998-12-01 Alexandre Oliva <oliva@dcc.unicamp.br>
|
||||
|
||||
* g++.old-deja/g++.pt/lookup6.C: New test.
|
||||
|
|
|
@ -157,6 +157,12 @@ proc g++_target_compile { source dest type options } {
|
|||
|
||||
set options [concat $options "$ALWAYS_CXXFLAGS"];
|
||||
|
||||
if { [regexp "(^| )-frepo( |$)" $options] && \
|
||||
[regexp "\.o(|bj)$" $dest] } then {
|
||||
regsub "\.o(|bj)$" $dest ".rpo" rponame
|
||||
exec rm -f $rponame
|
||||
}
|
||||
|
||||
return [target_compile $source $dest $type $options]
|
||||
}
|
||||
|
||||
|
|
|
@ -535,6 +535,7 @@ proc old-dejagnu { compiler prog cflagsx default_cflags libs } {
|
|||
regsub -all "(^|\n)\[^\n\]*: At top level:\[^\n\]*" $comp_output "" comp_output
|
||||
regsub -all "(^|\n)\[^\n\]*file path prefix \[^\n\]* never used" $comp_output "" comp_output
|
||||
regsub -all "(^|\n)\[^\n\]*linker input file unused since linking not done" $comp_output "" comp_output
|
||||
regsub -all "(^|\n)collect: re(compiling|linking)\[^\n\]*" $comp_output "" comp_output
|
||||
|
||||
set unsupported_message [${tool}_check_unsupported_p $comp_output]
|
||||
if { $unsupported_message != "" } {
|
||||
|
|
Loading…
Reference in New Issue