This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Committed: tweak gcc.dg/20021014-1.c, mark nest.c using dg-error
- From: Hans-Peter Nilsson <hp at bitrange dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sun, 27 Oct 2002 14:35:10 -0500 (EST)
- Subject: Committed: tweak gcc.dg/20021014-1.c, mark nest.c using dg-error
>From the thread at
<URL:http://gcc.gnu.org/ml/gcc-patches/2002-10/msg01640.html>, it's
obvious (and in this case, MMIX-specific).
* gcc.dg/nest.c: Expect error for mmix-*-*.
* gcc.dg/20021014-1.c: Use dg-error, not dg-build.
Index: nest.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/nest.c,v
retrieving revision 1.3
diff -p -c -r1.3 nest.c
*** nest.c 26 Oct 2002 06:01:20 -0000 1.3
--- nest.c 27 Oct 2002 19:27:23 -0000
***************
*** 1,6 ****
--- 1,7 ----
/* PR 5967, PR 7114 */
/* { dg-do run } */
/* { dg-options "-O2 -pg" } */
+ /* { dg-error "profiler" "No profiler support" { target mmix-*-* } 0 } */
long foo (long x)
{
Index: 20021014-1.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/20021014-1.c,v
retrieving revision 1.2
diff -p -c -r1.2 20021014-1.c
*** 20021014-1.c 26 Oct 2002 05:44:18 -0000 1.2
--- 20021014-1.c 27 Oct 2002 19:27:23 -0000
***************
*** 1,6 ****
/* { dg-do run } */
/* { dg-options "-O2 -p" } */
! /* { dg-build "profiler" "No profiler support" { xfail mmix-*-* } } */
extern void abort (void);
extern void exit (int);
--- 1,6 ----
/* { dg-do run } */
/* { dg-options "-O2 -p" } */
! /* { dg-error "profiler" "No profiler support" { target mmix-*-* } 0 } */
extern void abort (void);
extern void exit (int);
brgds, H-P