From: Richard Sandiford Date: Wed, 4 Jul 2007 09:15:53 +0000 (+0000) Subject: sh4a-fprun.c: Skip for VxWorks kernels. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2c99d614360c57cf409aa78136fe50851d0e7a9a;p=gcc.git sh4a-fprun.c: Skip for VxWorks kernels. gcc/testsuite/ * gcc.dg/sh4a-fprun.c: Skip for VxWorks kernels. From-SVN: r126308 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 71c389afc87..0e355f34ffa 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2007-07-04 Richard Sandiford + + * gcc.dg/sh4a-fprun.c: Skip for VxWorks kernels. + 2007-07-04 Francois-Xavier Coudert PR fortran/31198 diff --git a/gcc/testsuite/gcc.dg/sh4a-fprun.c b/gcc/testsuite/gcc.dg/sh4a-fprun.c index e9b1107528c..40c2b05aabb 100644 --- a/gcc/testsuite/gcc.dg/sh4a-fprun.c +++ b/gcc/testsuite/gcc.dg/sh4a-fprun.c @@ -1,5 +1,7 @@ /* Verify that fsca and fssra yield reasonable results. */ -/* { dg-do run { target "sh*-*-*" } } */ +/* This test calls the sinf and cosf library functions for targets other + than sh4a, but the VxWorks kernel doesn't have those functions. */ +/* { dg-do run { target { "sh*-*-*" && { ! vxworks_kernel } } } } */ /* { dg-options "-O -ffast-math" } */ #include