From patchwork Thu Oct 23 11:34:56 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rainer Orth X-Patchwork-Id: 402455 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]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id DA6B9140082 for ; Thu, 23 Oct 2014 22:35:10 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:references:date:in-reply-to:message-id :mime-version:content-type; q=dns; s=default; b=W9kt+zW86KdrXFKg pKShrsFGit+HaNIAGTBeVNpzAIXOjc8pBsgMUrYBD7u1DE9rWFlBiHvVhkl7iLek LB/UKdaJSiqFRg3B5lvVT8i2qrx0DmUG1lEXHe0bK3R5yhkDalZj8cm3I/gQluJV Rc0td2fPuVTiVB880n3NpG1flv0= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:references:date:in-reply-to:message-id :mime-version:content-type; s=default; bh=ioIU/DIMvWexiaX21VZjEU WuClg=; b=rte2k4nYrRqb6+b0sXhVwxpP5tfi4vOtV99G0ng5KEtX0Snvf1HlX8 +r7id7LwnbHKWAWOGeWKxRPN+hcs8dfqc1qMDHN4P+vliMTkei1wKDcR2RM5u5Jr sRSwIUSSTzkgE0oEKhVnxHJolAxXKnaiR8IWY6L80iHHzWWNBs5Cc= Received: (qmail 16608 invoked by alias); 23 Oct 2014 11:35:04 -0000 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 Received: (qmail 16593 invoked by uid 89); 23 Oct 2014 11:35:03 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.8 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: smtp-relay.CeBiTec.Uni-Bielefeld.DE Received: from snape.CeBiTec.Uni-Bielefeld.DE (HELO smtp-relay.CeBiTec.Uni-Bielefeld.DE) (129.70.160.84) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 23 Oct 2014 11:35:01 +0000 Received: from localhost (localhost.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) by smtp-relay.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id 3369834F; Thu, 23 Oct 2014 13:34:59 +0200 (CEST) Received: from smtp-relay.CeBiTec.Uni-Bielefeld.DE ([127.0.0.1]) by localhost (malfoy.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) (amavisd-new, port 10024) with LMTP id AIO+VsEjnN+E; Thu, 23 Oct 2014 13:34:57 +0200 (CEST) Received: from lokon.CeBiTec.Uni-Bielefeld.DE (lokon.CeBiTec.Uni-Bielefeld.DE [129.70.161.110]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp-relay.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTPS id 6CC1434C; Thu, 23 Oct 2014 13:34:57 +0200 (CEST) Received: (from ro@localhost) by lokon.CeBiTec.Uni-Bielefeld.DE (8.14.7+Sun/8.14.7/Submit) id s9NBYuNn003137; Thu, 23 Oct 2014 13:34:56 +0200 (CEST) From: Rainer Orth To: Jakub Jelinek Cc: gcc-patches@gcc.gnu.org, Martin Liska , Jan Hubicka Subject: Re: [testsuite] Fix gcc.dg/ipa/ipa-icf-2[18].c on Solaris References: <20141023093330.GB10376@tucnak.redhat.com> Date: Thu, 23 Oct 2014 13:34:56 +0200 In-Reply-To: <20141023093330.GB10376@tucnak.redhat.com> (Jakub Jelinek's message of "Thu, 23 Oct 2014 11:33:30 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (usg-unix-v) MIME-Version: 1.0 X-IsSubscribed: yes Jakub Jelinek writes: >> The former can be cured by adding -Wno-psabi to dg-options, but I've no >> idea what to do about the latter, especially since it doesn't occur on >> i386-pc-solaris2.11. > > The testcase is clearly i?86/x86_64 specific, so it must be guarded with > { target i?86-*-* x86_64-*-* }, and as it is a compile time test, no need > for assembler support, so just adding -msse2 option to dg-option is the > right thing to do. Here's what I've committed after testing on x86_64-unknown-linux-gnu, i686-unknown-linux-gnu, and i386-pc-solaris2.11 (both multilibs in each case). Rainer 2014-10-23 Rainer Orth * gcc.dg/ipa/ipa-icf-21.c: Add -msse2 to dg-options. diff --git a/gcc/testsuite/gcc.dg/ipa/ipa-icf-21.c b/gcc/testsuite/gcc.dg/ipa/ipa-icf-21.c --- a/gcc/testsuite/gcc.dg/ipa/ipa-icf-21.c +++ b/gcc/testsuite/gcc.dg/ipa/ipa-icf-21.c @@ -1,5 +1,5 @@ /* { dg-do compile { target i?86-*-* x86_64-*-* } } */ -/* { dg-options "-O2 -fdump-ipa-icf" } */ +/* { dg-options "-O2 -msse2 -fdump-ipa-icf" } */ #include