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]

Fix iftrap-1 test



I just noticed with dejagnu 1.4.0:
ERROR: gcc.dg/iftrap-1.c: syntax error in target selector "target rs6000-* powerpc-* sparc*-*" for " dg-do 3 compile { target rs6000-* powerpc-* sparc*-* } "

The appended patch fixes this.

Tested on i686-linux-gnu.

Ok to commit?
Andreas

2001-07-17  Andreas Jaeger  <aj@suse.de>

	* gcc.dg/iftrap-1.c: Fix target line.

============================================================
Index: gcc/testsuite/gcc.dg/iftrap-1.c
--- gcc/testsuite/gcc.dg/iftrap-1.c	2001/07/14 18:39:16	1.1
+++ gcc/testsuite/gcc.dg/iftrap-1.c	2001/07/17 14:48:43
@@ -1,6 +1,6 @@
 /* Verify that we optimize to conditional traps.  */
 /* { dg-options "-O" } */
-/* { dg-do compile { target rs6000-* powerpc-* sparc*-* } } */
+/* { dg-do compile { target rs6000-*-* powerpc-*-* sparc*-*-* } } */
 /* { dg-final { scan-assembler-not iftrap-1.c "^\t(trap|ta)\[ \t\]" } } */
 
 void f1(int p)

-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


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