This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix gcc.dg/gomp/pr89104.c failure on aarch64
- From: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>
- To: Steve Ellcey <sellcey at marvell dot com>
- Cc: "gcc-patches\@gcc.gnu.org" <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 24 Jul 2019 23:05:09 +0200
- Subject: Re: [PATCH] Fix gcc.dg/gomp/pr89104.c failure on aarch64
- References: <6e747c77678460af40bf06c60ec4e9118bac0946.camel@marvell.com>
Hi Steve,
> 2019-07-24 Steve Ellcey <sellcey@marvell.com>
>
> * gcc.dg/gomp/pr89104.c: Use -w on aarch64*-*-* targets.
>
>
> diff --git a/gcc/testsuite/gcc.dg/gomp/pr89104.c b/gcc/testsuite/gcc.dg/gomp/pr89104.c
> index 505fdda..7f0f688 100644
> --- a/gcc/testsuite/gcc.dg/gomp/pr89104.c
> +++ b/gcc/testsuite/gcc.dg/gomp/pr89104.c
> @@ -2,6 +2,7 @@
> /* PR ipa/89104 */
> /* { dg-do compile } */
> /* { dg-options "-O2 -fopenmp-simd" } */
> +/* { dg-options "-O2 -fopenmp-simd -w" { target aarch64*-*-* } } */
please use
/* { dg-additional-options "-w" { target aarch64*-*-* } } */
instead of repeating the option list. I'll leave approval of the
substance of the patch to an OpenMP maintainer.
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University