This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Patch to gcc testsuite file gcc.dg/990506-0.c


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 } } */ 
  }


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]