On Wed, Jul 30, 2014 at 7:31 AM, Doug Gilmore <doug.gilm...@imgtec.com> wrote:
> With r213117 we are seeing additional failures while testing a bare-iron 
> build:
>
> FAIL: gcc.dg/torture/ftrapv-1.c   -O0  (test for excess errors)
> ...
>
> This newly added test does a fork, though it has a guard
> to prevent testing targets that don't support fork, but the
> guard needs to be tweaked:
>
> diff --git a/gcc/testsuite/gcc.dg/torture/ftrapv-1.c 
> b/gcc/testsuite/gcc.dg/torture/ftrapv-1.c
> index 4fdccd8..4fee1e1 100644
> --- a/gcc/testsuite/gcc.dg/torture/ftrapv-1.c
> +++ b/gcc/testsuite/gcc.dg/torture/ftrapv-1.c
> @@ -1,7 +1,7 @@
>  /* { dg-do run } */
>  /* { dg-additional-options "-ftrapv" } */
>  /* { dg-require-effective-target trapping } */
> -/* { dg-require-fork } */
> +/* { dg-require-fork unused } */
>
>  #include <stdlib.h>
>  #include <unistd.h>
> --- end of patch
>
> OK to commit?

Ok.

Thanks,
Richard.

> Thanks,
>
> Doug

Reply via email to