This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Patch to gcc testsuite file gcc.dg/990506-0.c
- To: craig at jcb-sc dot com
- Subject: Patch to gcc testsuite file gcc.dg/990506-0.c
- From: Nick Clifton <nickc at cygnus dot com>
- Date: Thu, 4 Nov 1999 12:33:04 GMT
- Cc: gcc-patches at gcc dot gnu dot org
- Reply-to: nickc at cygnus dot co dot uk
Hi Guys,
Any objections to the following little patch ?
It changes the test file gcc.dg/990506-0.c so that the error
messages are expected from cross targets as well as native
targets.
Cheers
Nick
1999-11-04 Nick Clifton <nickc@cygnus.com>
* gcc.dg/990506-0.c: Expect error messages from cross
targets as well as native targets.
Index: gcc.dg/990506-0.c
===================================================================
RCS file: /cvs/cvsfiles/devo/gcc/testsuite/gcc.dg/990506-0.c,v
retrieving revision 1.2
diff -p -r1.2 990506-0.c
*** 990506-0.c 1999/09/28 19:10:04 1.2
--- 990506-0.c 1999/11/04 12:31:02
***************
*** 4,9 ****
x()
{
foo (i);
! /* { dg-error "undeclared" "undeclared-variable message" { target native } { 6 } } */
! /* { dg-error "function it appears in" "reminder message" { target native } { 6 } } */
}
--- 4,9 ----
x()
{
foo (i);
! /* { dg-error "undeclared" "undeclared-variable message" { target *-*-* } { 6 } } */
! /* { dg-error "function it appears in" "reminder message" { target *-*-* } { 6 } } */
}