]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
2001-08-14 David Billinghurst <David.Billinghurst@riotinto.com>
authortoon <toon@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 15 Aug 2001 05:59:41 +0000 (05:59 +0000)
committertoon <toon@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 15 Aug 2001 05:59:41 +0000 (05:59 +0000)
* lib/g77-dg.exp:  Use prune.exp for common procedures
(g77-dg-prune): Replace prune_g77_output with prune_gcc_output
* lib/g77.exp: (g77-dg-prune) Remove

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44916 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/lib/g77-dg.exp
gcc/testsuite/lib/g77.exp

index 69a945068423d386a7ec8d49ee267dc02bf6700a..a52b0e50520066894813fafdf030c05d2992cc9f 100644 (file)
@@ -1,3 +1,9 @@
+2001-08-14  David Billinghurst <David.Billinghurst@riotinto.com>
+
+       * lib/g77-dg.exp:  Use prune.exp for common procedures
+       (g77-dg-prune): Replace prune_g77_output with prune_gcc_output 
+       * lib/g77.exp: (g77-dg-prune) Remove 
+
 2001-08-13  Jason Merrill  <jason_merrill@redhat.com>
 
        * lib/scanasm.exp (scan-assembler*): Use expr instead of concat.
index cb72c365361c8ee2fc516f900d92e85bee606a23..ba267317c467a17bc4e06d6b23c47e4b6ae1efd2 100644 (file)
@@ -18,6 +18,7 @@ load_lib dg.exp
 load_lib file-format.exp
 load_lib target-supports.exp
 load_lib scanasm.exp
+load_lib prune.exp
 
 if ![info exists TORTURE_OPTIONS] {
     # It is theoretically beneficial to group all of the O2/O3 options together,
@@ -100,7 +101,7 @@ proc g77-dg-test { prog do_what extra_tool_flags } {
 }
 
 proc g77-dg-prune { system text } {
-    set text [prune_g77_output $text]
+    set text [prune_gcc_output $text]
 
     # If we see "region xxx is full" then the testcase is too big for ram.
     # This is tricky to deal with in a large testsuite like c-torture so
index dad392ff8843ca1ee1e172cd6d3e3fcae0d6e39a..b5287a79a9f195a0bc24bda48c7843d851e79f17 100644 (file)
@@ -153,31 +153,3 @@ proc g77_target_compile { source dest type options } {
     return [target_compile $source $dest $type $options]
 }
 
-# Provide a definition of this if missing (delete after next dejagnu release).
-
-if { [info procs prune_warnings] == "" } then {
-    proc prune_warnings { text } {
-       return $text
-    }
-}
-
-# Prune messages from g77 that aren't useful.
-
-proc prune_g77_output { text } {
-    #send_user "Before:$text\n"
-    regsub -all "(^|\n)\[^\n\]*: In (function|method) \[^\n\]*" $text "" text
-    regsub -all "(^|\n)\[^\n\]*: At top level:\[^\n\]*" $text "" text
-
-    # It would be nice to avoid passing anything to g77 that would cause it to
-    # issue these messages (since ignoring them seems like a hack on our part),
-    # but that's too difficult in the general case.  For example, sometimes
-    # you need to use -B to point g77 at crt0.o, but there are some targets
-    # that don't have crt0.o.
-    regsub -all "(^|\n)\[^\n\]*file path prefix \[^\n\]* never used" $text "" text
-    regsub -all "(^|\n)\[^\n\]*linker input file unused since linking not done" $text "" text
-
-    #send_user "After:$text\n"
-
-    return $text
-}
-