From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4161 invoked by alias); 17 Oct 2011 12:41:38 -0000 Received: (qmail 4153 invoked by uid 22791); 17 Oct 2011 12:41:37 -0000 X-SWARE-Spam-Status: No, hits=1.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MEDICAL_SUBJECT,RCVD_IN_DNSWL_LOW,TW_ZJ X-Spam-Check-By: sourceware.org Received: from mail-ww0-f41.google.com (HELO mail-ww0-f41.google.com) (74.125.82.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 17 Oct 2011 12:41:21 +0000 Received: by wwe32 with SMTP id 32so1955239wwe.2 for ; Mon, 17 Oct 2011 05:41:20 -0700 (PDT) MIME-Version: 1.0 Received: by 10.227.61.76 with SMTP id s12mr6706067wbh.38.1318855279945; Mon, 17 Oct 2011 05:41:19 -0700 (PDT) Received: by 10.227.197.199 with HTTP; Mon, 17 Oct 2011 05:41:19 -0700 (PDT) In-Reply-To: References: Date: Mon, 17 Oct 2011 13:17:00 -0000 Message-ID: Subject: Re: [PATCH, testsuite, i386] FMA3 testcases + typo fix in MD From: Kirill Yukhin To: Uros Bizjak Cc: Andreas Schwab , gcc-patches List , "H.J. Lu" , vbyakovl23@gmail.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes 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 X-SW-Source: 2011-10/txt/msg01517.txt.bz2 Thanks! K On Sat, Oct 15, 2011 at 3:08 PM, Uros Bizjak wrote: > On Sat, Oct 15, 2011 at 10:32 AM, Uros Bizjak wrote: > >>>> --- /dev/null >>>> +++ b/gcc/testsuite/gcc.target/i386/fma_double_1.c >>>> @@ -0,0 +1,19 @@ >>>> +/* { dg-do compile } */ >>>> +/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } = */ >>> >>> That prunes too much. =A0gcc-dg-prune brackets the regexp so that it on= ly >>> matches within a single line, but your use of ".*" (which also matches >>> newlines) overrides that and will cause the *whole* output to be thrown >>> away, including any unrelated error messages. >> >> Perhaps e can add -Wno-attributes to dg-options and remove dg-prune-outp= ut. >> >> I will look at this possibility and create a patch. > > It works. > > 2011-10-15 =A0Uros Bizjak =A0 > > =A0 =A0 =A0 =A0* gcc.target/i386/fma_float_?.c (dg-prune_output): Remove. > =A0 =A0 =A0 =A0(dg-options): Add -Wno-attributes. > =A0 =A0 =A0 =A0* gcc.target/i386/fma_double_?.c: Ditto. > =A0 =A0 =A0 =A0* gcc.target/i386/fma_run_float_?.c: Ditto. > =A0 =A0 =A0 =A0* gcc.target/i386/fma_run_double_?.c: Ditto. > =A0 =A0 =A0 =A0* gcc.target/i386/l_fma_float_?.c: Dtto. > =A0 =A0 =A0 =A0* gcc.target/i386/l_fma_double_?.c: Ditto. > =A0 =A0 =A0 =A0* gcc.target/i386/l_fma_run_float_?.c: Ditto. > =A0 =A0 =A0 =A0* gcc.target/i386/l_fma_run_double_?.c: Ditto. > > Attached patch was tested on x86_64-pc-linux-gnu {,-m32} and committed to= SVN. > > Uros. >