From patchwork Fri Jan 16 11:57:10 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Biener X-Patchwork-Id: 429825 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 9E61F140277 for ; Fri, 16 Jan 2015 23:04:34 +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:date :from:to:subject:message-id:mime-version:content-type; q=dns; s= default; b=SxyZLD10SOSllkth4b2mkz0aun9dEYzofTuf0PCbyH15JwaDx97yu AyJ6Xbu6L4Y1mzg6v2OayMCxh3LfUYBYs/BdLcNQCsSyIrmj4ampuIrdjN9/YtQJ LLx2GNJ2c7HNg/UBD7qJYCIdEikekKDew4PUytJjklaAEhKBOViCKU= 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=a0econ5XwLyRstpjcRiy3MGQc1s=; b=PHHNSsDZTZAlB/V4CajK SvM6yqFy24hjJHlOyKIGHjLZ+1uxewPEy6VjneRe9AtzqXhPsFXj1tF+mWjN2CgG DPuMRnqAoCvR0D/Rr/+SRvZJfOYADRdtwxMOYB5uwL0cqYo2RYemuEwnUq5lJadn wlBOCeptLVRDp9gT8+cJ5og= Received: (qmail 6903 invoked by alias); 16 Jan 2015 12:04:27 -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 6891 invoked by uid 89); 16 Jan 2015 12:04:25 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.2 required=5.0 tests=AWL, BAYES_00, T_RP_MATCHES_RCVD 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; Fri, 16 Jan 2015 12:04:24 +0000 Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id D3493AD8C for ; Fri, 16 Jan 2015 12:04:16 +0000 (UTC) Date: Fri, 16 Jan 2015 12:57:10 +0100 (CET) From: Richard Biener To: gcc-patches@gcc.gnu.org Subject: [PATCH] Fix PR61743 testcases Message-ID: User-Agent: Alpine 2.11 (LSU 23 2013-08-11) MIME-Version: 1.0 This avoids vectorizing and thus chaning loop trip count. Tested on x86_64, applied. Richard. 2015-01-16 Richard Biener PR tree-optimization/61743 * gcc.dg/tree-ssa/pr61743-1.c: Add -fno-tree-vectorize. * gcc.dg/tree-ssa/pr61743-2.c: Likewise. Index: gcc/testsuite/gcc.dg/tree-ssa/pr61743-1.c =================================================================== --- gcc/testsuite/gcc.dg/tree-ssa/pr61743-1.c (revision 219714) +++ gcc/testsuite/gcc.dg/tree-ssa/pr61743-1.c (working copy) @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O3 -funroll-loops -fdump-tree-cunroll-details" } */ +/* { dg-options "-O3 -funroll-loops -fno-tree-vectorize -fdump-tree-cunroll-details" } */ #define N 8 #define M 14 Index: gcc/testsuite/gcc.dg/tree-ssa/pr61743-2.c =================================================================== --- gcc/testsuite/gcc.dg/tree-ssa/pr61743-2.c (revision 219714) +++ gcc/testsuite/gcc.dg/tree-ssa/pr61743-2.c (working copy) @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O3 -funroll-loops -fdump-tree-cunroll-details" } */ +/* { dg-options "-O3 -funroll-loops -fno-tree-vectorize -fdump-tree-cunroll-details" } */ #define N 8 #define M 14