From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 109377 invoked by alias); 20 Sep 2016 08:37:49 -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 109360 invoked by uid 89); 20 Sep 2016 08:37:48 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.0 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=Hx-languages-length:1609 X-HELO: foss.arm.com Received: from foss.arm.com (HELO foss.arm.com) (217.140.101.70) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 20 Sep 2016 08:37:47 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 54B83F0; Tue, 20 Sep 2016 01:37:45 -0700 (PDT) Received: from [10.2.206.52] (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 7183B3F57F; Tue, 20 Sep 2016 01:37:44 -0700 (PDT) Subject: Re: Early jump threading To: Christophe Lyon , Jan Hubicka References: <20160811140235.GA68714@kam.mff.cuni.cz> <20160811142700.GA57561@kam.mff.cuni.cz> <9B0D3D88-1653-4CB6-89BB-948064048D8F@suse.de> <20160918184850.GB58387@kam.mff.cuni.cz> Cc: Jeff Law , Richard Biener , "gcc-patches@gcc.gnu.org" From: Thomas Preudhomme Message-ID: <6d883990-95ba-60d3-a83b-ea9e84d412fe@foss.arm.com> Date: Tue, 20 Sep 2016 08:41:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2016-09/txt/msg01259.txt.bz2 On 19/09/16 08:02, Christophe Lyon wrote: >> Index: testsuite/gcc.dg/tree-ssa/pr68198.c >> =================================================================== >> --- testsuite/gcc.dg/tree-ssa/pr68198.c (revision 240109) >> +++ testsuite/gcc.dg/tree-ssa/pr68198.c (working copy) >> @@ -1,5 +1,5 @@ >> /* { dg-do compile } */ >> -/* { dg-options "-O2 -fdump-tree-thread1-details" } */ >> +/* { dg-options "-O2 -fdump-tree-thread1-details -fdisable-tree-ethread" } */ >> >> extern void abort (void); >> >> @@ -40,4 +40,4 @@ c_finish_omp_clauses (tree clauses) >> /* There are 3 FSM jump threading opportunities, two of which will >> get filtered out. */ >> /* { dg-final { scan-tree-dump-times "Registering FSM" 1 "thread1"} } */ >> -/* { dg-final { scan-tree-dump-times "FSM Thread through multiway branch without threading a multiway branch" 2 "thread1"} } */ >> +/* { dg-final { scan-tree-dump-times "FSM Thread through multiway branch without threading a multiway branch" 2 "ethread"} } */ > > This test does not work, at least on arm* and aarch64*. I'm seeing: > cc1: note: disable pass tree-ethread for functions in the range of [0, > 4294967295] > > PASS: gcc.dg/tree-ssa/pr68198.c (test for excess errors) > PASS: gcc.dg/tree-ssa/pr68198.c scan-tree-dump-times thread1 "Registering FSM" 1 > gcc.dg/tree-ssa/pr68198.c: dump file does not exist > UNRESOLVED: gcc.dg/tree-ssa/pr68198.c scan-tree-dump-times ethread > "FSM Thread through multiway branch without threading a multiway > branch" 2 Shouldn't the test enable tree-ethread to have a ethread dump? Best regards, Thomas