From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 117405 invoked by alias); 29 Oct 2015 15:25:41 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 117394 invoked by uid 89); 29 Oct 2015 15:25:41 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-yk0-f169.google.com Received: from mail-yk0-f169.google.com (HELO mail-yk0-f169.google.com) (209.85.160.169) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Thu, 29 Oct 2015 15:25:40 +0000 Received: by ykek133 with SMTP id k133so46146159yke.2 for ; Thu, 29 Oct 2015 08:25:38 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.129.155.130 with SMTP id s124mr1868510ywg.68.1446132338330; Thu, 29 Oct 2015 08:25:38 -0700 (PDT) Received: by 10.37.117.136 with HTTP; Thu, 29 Oct 2015 08:25:37 -0700 (PDT) In-Reply-To: <87vb9pu2sa.fsf@e105548-lin.cambridge.arm.com> References: <87vb9pu2sa.fsf@e105548-lin.cambridge.arm.com> Date: Thu, 29 Oct 2015 15:28:00 -0000 Message-ID: Subject: Re: Require c99_runtime for builtin-convert-1.c From: Richard Biener To: GCC Patches , richard.sandiford@arm.com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2015-10/txt/msg03201.txt.bz2 On Thu, Oct 29, 2015 at 4:12 PM, Richard Sandiford wrote: > ...which was failing on *-elf. This test is making sure that we narrow > maths calls, e.g. sinh -> sinhf, but we can only do that if we know that > the target has a full c99 libm or if we have other proof that the function > we want to generate is available. > > Tested on aarch64-none-elf (where it's skipped) and aarch64-linux-gnu > (where it isn't). OK to install? Ok. Thanks, Richard. > Thanks, > Richard > > > gcc/testsuite/ > * gcc.dg/torture/builtin-convert-1.c: Require c99_runtime. > > diff --git a/gcc/testsuite/gcc.dg/torture/builtin-convert-1.c b/gcc/testsuite/gcc.dg/torture/builtin-convert-1.c > index f13d29e..eecd2b3 100644 > --- a/gcc/testsuite/gcc.dg/torture/builtin-convert-1.c > +++ b/gcc/testsuite/gcc.dg/torture/builtin-convert-1.c > @@ -8,6 +8,7 @@ > /* { dg-do link } */ > /* { dg-options "-ffast-math" } */ > /* { dg-add-options c99_runtime } */ > +/* { dg-require-effective-target c99_runtime } */ > > #include "../builtins-config.h" > >