From patchwork Thu Sep 5 22:50:35 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Hubicka X-Patchwork-Id: 272996 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 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "www.sourceware.org", Issuer "StartCom Class 1 Primary Intermediate Server CA" (not verified)) by ozlabs.org (Postfix) with ESMTPS id 9A96C2C00BB for ; Fri, 6 Sep 2013 08:50:46 +1000 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:mime-version:content-type; q=dns; s= default; b=uJBm83BsoLRDamccZKzaypI5Fa0euuwwXU2lEoUl2AUPfLLCyuSMI PD5QgXV0G4QYWbxjTcP+IqrSX2v1CM8VQgn851JJj6qC04tUoKb89wDtAajGy6ge a6H3pjK8CaslZrUlbXfqmseFZfuQfLcU5zcTnvLvfc+OkbM/bjL5g8= 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:date :from:to:subject:message-id:mime-version:content-type; s= default; bh=i7yT9m0q0cSd445GfCHLHy9JX6A=; b=COatJ9G3CphJyEUTA8hy L71bPz/XICsteFd9xW7zn0q0I21zQZKyZCopLGZ5gHUtd9G74OeCqNK0A9YisrOD LrOoMrrCuaSmh2FuPuow1ZSWISpFFezVtzQl7XxAbaTW1Fx9/J5yK5HZRG51OOx0 gOKzZdasME8xjMkzI7McekI= Received: (qmail 28227 invoked by alias); 5 Sep 2013 22:50:39 -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 28218 invoked by uid 89); 5 Sep 2013 22:50:39 -0000 Received: from nikam.ms.mff.cuni.cz (HELO nikam.ms.mff.cuni.cz) (195.113.20.16) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Thu, 05 Sep 2013 22:50:39 +0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL, BAYES_00, NO_RELAYS autolearn=ham version=3.3.2 X-HELO: nikam.ms.mff.cuni.cz Received: by nikam.ms.mff.cuni.cz (Postfix, from userid 16202) id 66DAC543A86; Fri, 6 Sep 2013 00:50:35 +0200 (CEST) Date: Fri, 6 Sep 2013 00:50:35 +0200 From: Jan Hubicka To: gcc-patches@gcc.gnu.org Subject: Silence gcc.dg/autopar/pr49960.c Message-ID: <20130905225035.GA14285@kam.mff.cuni.cz> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Hi, this testcase breaks with partial inlining because it depends on hand hoisted loop header out of the loop nest. Partial inling (correctly) moves the test out of function and prevents the analysis to happen. The whole testcase is very artificial, so I think it is fine to disable partial inlining until we have IPA value range propagation. Comitted as obvoius. Honza Index: ChangeLog =================================================================== --- ChangeLog (revision 202296) +++ ChangeLog (working copy) @@ -1,3 +1,6 @@ +2013-09-05 Jan Hubicka + + * gcc.dg/autopar/pr49960.c: Disable partial inlining 2013-09-05 Richard Biener PR tree-optimization/58137 Index: gcc.dg/autopar/pr49960.c =================================================================== --- gcc.dg/autopar/pr49960.c (revision 202271) +++ gcc.dg/autopar/pr49960.c (working copy) @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -ftree-parallelize-loops=4 -fdump-tree-parloops-details -fdump-tree-optimized" } */ +/* { dg-options "-O2 -ftree-parallelize-loops=4 -fdump-tree-parloops-details -fdump-tree-optimized -fno-partial-inlining" } */ #include #define MB 100 @@ -12,7 +12,9 @@ void MRTRBR(int MA_1, int NA_1, int MB_1 int i,j, t,k; /* At the moment we are not able to hoist the loop headers out of the loop - nest. */ + nest. + Partial inlining needs to be disabled so we do not optimize this out + of the function body. */ if (MA_1 < 4 || NA_1 < 4 || MB_1 < 4) return;