diff options
author | Ben Elliston <bje@gnu.org> | 2004-01-30 06:24:00 +0000 |
---|---|---|
committer | Ben Elliston <bje@gnu.org> | 2004-01-30 06:24:00 +0000 |
commit | 939bae0d2c577d2fe6abf4368e4f5a6611a4f71c (patch) | |
tree | b0759984b481895f739a156e336a81300f717aca /lib/target.exp | |
parent | fb5fb301ef6d79b9cb3990d3562459bceae04c3f (diff) | |
download | dejagnu-939bae0d2c577d2fe6abf4368e4f5a6611a4f71c.zip dejagnu-939bae0d2c577d2fe6abf4368e4f5a6611a4f71c.tar.gz dejagnu-939bae0d2c577d2fe6abf4368e4f5a6611a4f71c.tar.bz2 |
* Import orphaned patches from sources.redhat.com:
2002-05-02 Fernando Nasser <fnasser@redhat.com>
* doc/dejagnu.texi: Document KFAIL and KPASS.
2002-02-20 Richard Henderson <rth@redhat.com>
* lib/target.exp (prune_warnings): Revert early "In function" strip,
as this breaks g++.dg tests. Match dangerous regexp without the
"In function" header.
2002-02-09 Richard Henderson <rth@redhat.com>
* lib/target.exp (prune_warnings): Strip "In function" etc early.
Adjust "dangerous" regexp for glibc's tmpnam warning.
2001-09-10 Jim Blandy <jimb@redhat.com>
* baseboards/rom68k-idp.exp: Use -Tidpgdb.ld as the linker script,
so we get the version of the `outbyte' function that does console
output in a way that GDB's rom68k target recognizes. Note that
the board can now do output.
2000-04-25 Felix Lee <flee@cygnus.com>
* baseboards/tx39-sim.exp: Use idt, not dve linker script. Delete
misleading comments and null statements.
Diffstat (limited to 'lib/target.exp')
-rw-r--r-- | lib/target.exp | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/lib/target.exp b/lib/target.exp index b981a09..950f9c8 100644 --- a/lib/target.exp +++ b/lib/target.exp @@ -268,16 +268,23 @@ proc prune_warnings { text } { regsub -all "(^|\n)(\[^\n\]*: warning: reference to compatibility glob\[^\n\]*\n?)" $text "\\1" text # GNU ld warns about functions marked as dangerous in GNU libc. - regsub -all "(^|\n)\[^\n\]*: In function\[^\n\]*\n\[^\n\]\[^\n\]*function is dangerous\[^\n\]*" $text "" text - - # GNU ld warns about functions marked as dangerous in GNU libc. + regsub -all "(^|\n)\[^\n\]*: In function\[^\n\]*\n\[^\n\]\[^\n\]*is dangerous\[^\n\]*" $text "" text regsub -all "(^|\n)\[^\n\]*: In function\[^\n\]*\n\[^\n\]\[^\n\]*the use of \[^\n\]* is dangerous, better use \[^\n\]*" $text "" text + regsub -all "(^|\n)\[^\n\]*is dangerous\[^\n\]*" $text "" text # Libgloss libnosys defines functions that warn when linked in regsub -all "(^|\n)\[^\n\]*: In function\[^\n\]*\n\[^\n\]\[^\n\]*is not implemented and will always fail\[^\n\]*" $text "" text + regsub -all "(^|\n)\[^\n\]*is not implemented and will always fail\[^\n\]*" $text "" text + + # libstdc++-v3 tests can emit cpplib warnings due to duplicate -isystem / -I flags + regsub -all "(^|\n)\[^\n\]*: warning: changing search order for system directory\[^\n\]*" $text "" text + regsub -all "(^|\n)\[^\n\]*: warning: as it has already been specified\[^\n\]*" $text "" text # Cygwin cc1 warns about -fpic and -fPIC - regsub -all ".*: warning: -f(pic|PIC) ignored for target .*" $text "" text + regsub -all "(^|\n)\[^\n\]*: warning: -f(pic|PIC) ignored for target \[^\n\]*" $text "" text + + # Ignore linker warning when searching 64bit libraries in /lib. + regsub -all "(^|\n)\[^\n\]*: skipping incompatible \[^\n\]* when searching for \[^\n\]*" $text "" text # It might be tempting to get carried away and delete blank lines, etc. # Just delete *exactly* what we're ask to, and that's it. |