From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20997 invoked by alias); 23 Oct 2014 11:37:18 -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 20988 invoked by uid 89); 23 Oct 2014 11:37:18 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.0 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: mx2.suse.de Received: from cantor2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Thu, 23 Oct 2014 11:37:17 +0000 Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 34FEFABE6; Thu, 23 Oct 2014 11:37:14 +0000 (UTC) Message-ID: <5448E869.7060400@suse.cz> Date: Thu, 23 Oct 2014 12:34:00 -0000 From: =?UTF-8?B?TWFydGluIExpxaFrYQ==?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.0 MIME-Version: 1.0 To: Andreas Schwab CC: gcc-patches@gcc.gnu.org Subject: Re: [PATCH 5/5] New tests introduction References: <53A09CC0.6060209@redhat.com> <53B15497.2070806@suse.cz> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2014-10/txt/msg02389.txt.bz2 On 10/19/2014 09:50 AM, Andreas Schwab wrote: > Martin Liška writes: > >> diff --git a/gcc/testsuite/gcc.dg/ipa/ipa-icf-21.c b/gcc/testsuite/gcc.dg/ipa/ipa-icf-21.c >> new file mode 100644 >> index 0000000..7358e43 >> --- /dev/null >> +++ b/gcc/testsuite/gcc.dg/ipa/ipa-icf-21.c >> @@ -0,0 +1,27 @@ >> +/* { dg-do compile } */ >> +/* { dg-options "-O2 -fdump-ipa-icf" } */ >> + >> +#include >> + >> +__attribute__ ((noinline)) >> +void foo() >> +{ >> + float x = 1.2345f; >> + __m128 v =_mm_load1_ps(&x); >> +} >> + >> +__attribute__ ((noinline)) >> +void bar() >> +{ >> + float x = 1.2345f; >> + __m128 v =_mm_load1_ps(&x); >> +} >> + >> +int main() >> +{ >> + return 2; >> +} >> + >> +/* { dg-final { scan-ipa-dump "Semantic equality hit:bar->foo" "icf" } } */ >> +/* { dg-final { scan-ipa-dump "Equal symbols: 1" "icf" } } */ >> +/* { dg-final { cleanup-ipa-dump "icf" } } */ > > FAIL: gcc.dg/ipa/ipa-icf-21.c (test for excess errors) > Excess errors: > /usr/local/gcc/gcc-20141019/gcc/testsuite/gcc.dg/ipa/ipa-icf-21.c:4:23: fatal e\ > rror: xmmintrin.h: No such file or directory > compilation terminated. > > Andreas. > Hello Andreas. Starting from r216589 this problem should be fixed. Thanks, Martin