* 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
+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.
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]
}
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 != "" } {