From patchwork Thu May 5 14:01:59 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rainer Orth X-Patchwork-Id: 618970 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 3r0xS962PGz9sf9 for ; Fri, 6 May 2016 00:02:32 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=IMHg81Qi; dkim-atps=neutral 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=IP2RB3EUJvYXq7mz ksmdN8FZ7/c8C/jUaGGu4gwNvXLTSVp9rYKfJFn63ZKChWN0rhpzKn77bi2R9MKm gJFTvGw8ZTZa8+OtCkK/tCEfA6sO76MsKEn0nwt9D10tMNXXrawrzg/YeaMyOmlc T8NzCgKTFBHi6eqTsXqOFH5y/x0= 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=2Mz5YrVp59zSIDDXcmXfua Sr1yg=; b=IMHg81QiHky+boqOsHKWEW7WsAdHsU7U3lCzZYkZnnPbpR7bWGCMyb LQmyiBOGqHPh/R41zhGjKjYqhGMYSE/kq24SomuxRHeQnVOXGcMBtYGnN8nRvEqX 18I3K6Vu23IDKYqlgv9hXyxwuq/lne+ViiHm4yCEIzqh8IwRLfsLw= Received: (qmail 54805 invoked by alias); 5 May 2016 14:02:20 -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 54782 invoked by uid 89); 5 May 2016 14:02:19 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.0 required=5.0 tests=BAYES_00, KAM_LAZY_DOMAIN_SECURITY, RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=invocation X-HELO: smtp.CeBiTec.Uni-Bielefeld.DE Received: from smtp.CeBiTec.Uni-Bielefeld.DE (HELO smtp.CeBiTec.Uni-Bielefeld.DE) (129.70.160.84) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 05 May 2016 14:02:09 +0000 Received: from localhost (localhost.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id 8447C96C; Thu, 5 May 2016 16:02:06 +0200 (CEST) Received: from smtp.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 OOn+HF-zQiqx; Thu, 5 May 2016 16:02:05 +0200 (CEST) Received: from fuego.CeBiTec.Uni-Bielefeld.DE (p5DCE2DA2.dip0.t-ipconnect.de [93.206.45.162]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTPSA id DA91796B; Thu, 5 May 2016 16:02:04 +0200 (CEST) From: Rainer Orth To: Jan Hubicka Cc: gcc-patches@gcc.gnu.org Subject: Re: Improve pure/const propagation across interposable function with non-interposable aliases References: <20160504152207.GE24787@kam.mff.cuni.cz> Date: Thu, 05 May 2016 16:01:59 +0200 In-Reply-To: <20160504152207.GE24787@kam.mff.cuni.cz> (Jan Hubicka's message of "Wed, 4 May 2016 17:22:08 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.93 (usg-unix-v) MIME-Version: 1.0 X-IsSubscribed: yes Hi Jan, > * gcc.dg/ipa/pure-const-3.c: New testcase. the testcase FAILs: UNRESOLVED: gcc.dg/ipa/pure-const-3.c scan-ipa-dump pure-const "found to be const" The log shows gcc.dg/ipa/pure-const-3.c: dump file does not exist The following patch fixes this. Tested with the appropriate runtest invocation on i386-pc-solaris2.12. I guess this is obvious? Rainer 2016-05-05 Rainer Orth * gcc.dg/ipa/pure-const-3.c: Scan local-pure-const1 dump. # HG changeset patch # Parent d39b4a1eb735ab8dd6f6029ab882650de945f341 Fix gcc.dg/ipa/pure-const-3.c scan diff --git a/gcc/testsuite/gcc.dg/ipa/pure-const-3.c b/gcc/testsuite/gcc.dg/ipa/pure-const-3.c --- a/gcc/testsuite/gcc.dg/ipa/pure-const-3.c +++ b/gcc/testsuite/gcc.dg/ipa/pure-const-3.c @@ -21,4 +21,4 @@ main() __builtin_abort (); return 0; } -/* { dg-final { scan-ipa-dump "found to be const" "pure-const"} } */ +/* { dg-final { scan-tree-dump "found to be const" "local-pure-const1"} } */