From patchwork Tue Dec 6 18:50:24 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Uros Bizjak X-Patchwork-Id: 129781 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 1EE111007D6 for ; Wed, 7 Dec 2011 05:50:44 +1100 (EST) Received: (qmail 24527 invoked by alias); 6 Dec 2011 18:50:41 -0000 Received: (qmail 24517 invoked by uid 22791); 6 Dec 2011 18:50:40 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL, BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, TW_ZJ X-Spam-Check-By: sourceware.org Received: from mail-gx0-f175.google.com (HELO mail-gx0-f175.google.com) (209.85.161.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 06 Dec 2011 18:50:26 +0000 Received: by ggnh1 with SMTP id h1so7033714ggn.20 for ; Tue, 06 Dec 2011 10:50:24 -0800 (PST) MIME-Version: 1.0 Received: by 10.236.93.4 with SMTP id k4mr13954238yhf.114.1323197424334; Tue, 06 Dec 2011 10:50:24 -0800 (PST) Received: by 10.147.111.1 with HTTP; Tue, 6 Dec 2011 10:50:24 -0800 (PST) Date: Tue, 6 Dec 2011 19:50:24 +0100 Message-ID: Subject: [PATCH, testsuite]: Fix g++.dg/opt/pr51396.C on non-x86 targets From: Uros Bizjak To: gcc-patches@gcc.gnu.org Cc: Jakub Jelinek Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Hello! -mfma is valid only on x86 targets 2011-12-06 Uros Bizjak * g++.dg/opt/pr51396.C: Use dg-additional-options. Tested on alphaev68-pc-linux-gnu, committed to mainline SVN. Uros. Index: g++.dg/opt/pr51396.C =================================================================== --- g++.dg/opt/pr51396.C (revision 182054) +++ g++.dg/opt/pr51396.C (working copy) @@ -1,7 +1,7 @@ // PR tree-optimization/51396 // { dg-do compile } -// { dg-options "-O2 -fnon-call-exceptions -mfma" } -// { dg-options "-O2 -fnon-call-exceptions -mfma" { target i?86-*-* x86_64-*-* } } +// { dg-options "-O2 -fnon-call-exceptions" } +// { dg-additional-options "-mfma" { target i?86-*-* x86_64-*-* } } double baz (double) throw ();