diff options
author | Alexandre Oliva <oliva@dcc.unicamp.br> | 1998-12-03 11:21:28 +0000 |
---|---|---|
committer | Alexandre Oliva <oliva@gcc.gnu.org> | 1998-12-03 11:21:28 +0000 |
commit | 16fe4796d6d51416ed9032f6c93288ecbe6b3d19 (patch) | |
tree | d718170f39c49f866b7a97e4768110511200ee99 /gcc/testsuite | |
parent | 39cec1ac5ac3dec3a6f22dc60587326f5f5dc4ef (diff) | |
download | gcc-16fe4796d6d51416ed9032f6c93288ecbe6b3d19.zip gcc-16fe4796d6d51416ed9032f6c93288ecbe6b3d19.tar.gz gcc-16fe4796d6d51416ed9032f6c93288ecbe6b3d19.tar.bz2 |
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
Diffstat (limited to 'gcc/testsuite')
-rw-r--r-- | gcc/testsuite/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/testsuite/lib/g++.exp | 6 | ||||
-rw-r--r-- | gcc/testsuite/lib/old-dejagnu.exp | 1 |
3 files changed, 14 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index fac365e..d7063a1 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -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. diff --git a/gcc/testsuite/lib/g++.exp b/gcc/testsuite/lib/g++.exp index b0f6039..27b444e 100644 --- a/gcc/testsuite/lib/g++.exp +++ b/gcc/testsuite/lib/g++.exp @@ -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] } diff --git a/gcc/testsuite/lib/old-dejagnu.exp b/gcc/testsuite/lib/old-dejagnu.exp index fe566e6..835bb41 100644 --- a/gcc/testsuite/lib/old-dejagnu.exp +++ b/gcc/testsuite/lib/old-dejagnu.exp @@ -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 != "" } { |