From d62c1a1f98fbc174588e19236b5d5f1a51ee7002 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Wed, 24 Mar 2004 19:54:26 +0000 Subject: [PATCH] prune.exp (prune_gcc_output): Ignore errata warning from IA64 assembler. gcc/testsuite/: * lib/prune.exp (prune_gcc_output): Ignore errata warning from IA64 assembler. libstdc++-v3/: * testsuite/lib/prune.exp (prune_g++_output): Ignore errata warning from IA64 assembler. From-SVN: r79929 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/lib/prune.exp | 6 +++++- libstdc++-v3/ChangeLog | 5 +++++ libstdc++-v3/testsuite/lib/prune.exp | 6 +++++- 4 files changed, 20 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 9019261f762..572f5273e7f 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2004-03-24 Andreas Schwab + + * lib/prune.exp (prune_gcc_output): Ignore errata warning from + IA64 assembler. + 2004-03-23 Joseph S. Myers Roger Sayle diff --git a/gcc/testsuite/lib/prune.exp b/gcc/testsuite/lib/prune.exp index 8105340cfcd..2d1b1096198 100644 --- a/gcc/testsuite/lib/prune.exp +++ b/gcc/testsuite/lib/prune.exp @@ -1,4 +1,4 @@ -# Copyright (C) 1997, 1999, 2000, 2002 Free Software Foundation, Inc. +# Copyright (C) 1997, 1999, 2000, 2002, 2004 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -28,6 +28,10 @@ proc prune_gcc_output { text } { regsub -all "(^|\n)\[^\n\]*: warning: -f(pic|PIC) ignored for target\[^\n\]*" $text "" text regsub -all "(^|\n)\[^\n\]*: warning: -f(pic|PIC)( and -fpic are| is)? not supported\[^\n\]*" $text "" text + # Ignore errata warning from IA64 assembler. + regsub -all "(^|\n)\[^\n\]*: Additional NOP may be necessary to workaround Itanium processor A/B step errata" $text "" text + regsub -all "(^|\n)\[^\n*\]*: Assembler messages:\[^\n\]*" $text "" text + # It would be nice to avoid passing anything to gcc 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 diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 7328e0c1dcf..168f9edd480 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2004-03-24 Andreas Schwab + + * testsuite/lib/prune.exp (prune_g++_output): Ignore errata + warning from IA64 assembler. + 2004-03-24 Dhruv Matani * include/ext/bitmap_allocator.h: (_Bit_scan_forward) -> Made this diff --git a/libstdc++-v3/testsuite/lib/prune.exp b/libstdc++-v3/testsuite/lib/prune.exp index 7dc8eca1316..8b4e2cdca6d 100644 --- a/libstdc++-v3/testsuite/lib/prune.exp +++ b/libstdc++-v3/testsuite/lib/prune.exp @@ -1,4 +1,4 @@ -# Copyright (C) 1997, 1999, 2000, 2001 Free Software Foundation, Inc. +# Copyright (C) 1997, 1999, 2000, 2001, 2004 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -25,5 +25,9 @@ proc prune_g++_output { text } { # definitions, etc as these confuse dejagnu regsub -all "(^|\n)\[^\n\]*: In function \[^\n\]*" $text "" text + # Ignore errata warning from IA64 assembler. + regsub -all "(^|\n)\[^\n\]*: Additional NOP may be necessary to workaround Itanium processor A/B step errata" $text "" text + regsub -all "(^|\n)\[^\n*\]*: Assembler messages:\[^\n\]*" $text "" text + return $text }