From patchwork Fri Feb 1 09:16:46 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Biener X-Patchwork-Id: 1034663 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-495070-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=suse.de Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="gdWrchcG"; dkim-atps=neutral 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 43rWhB44G6z9s9G for ; Fri, 1 Feb 2019 20:16:57 +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=Je5tx5MlgF0D9JURoIDBwZ8tge01vqdoFbNIhLFaK/W1IZSUzzT2k muy8z/DC6TY8a6rq2Hu2lyOvqVY0MAKhYv/OBFz4DVbK8N6wQ8Y0+I6eBpoYSlCi F0VUrGujVwldvCGvRKCSDKhHwsPzZKDZKkG76CVJB+5flCPxchJ1pM= 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=s/mC2bUQDTPI0/kL81m2KnejDpE=; b=gdWrchcGvorGy6qXrC/Y 2vl5Lwtu4GHhVhrU2O+lqJXNEqzZB/UPJdLkhvvHS74it0sGct+54VjvrkL0ZjH/ reptta1dqOrWzttNGeL47RkdHvU6f8qbmqMN6kqc0HVcDduvJWrMeF0so/w40u9c Npvd+1oPJ//nxmgeL/PNHm8= Received: (qmail 69402 invoked by alias); 1 Feb 2019 09:16:50 -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 69393 invoked by uid 89); 1 Feb 2019 09:16:50 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-11.4 required=5.0 tests=BAYES_00, GIT_PATCH_2, GIT_PATCH_3, KAM_NUMSUBJECT, SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mx1.suse.de Received: from mx2.suse.de (HELO mx1.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 01 Feb 2019 09:16:49 +0000 Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 188ECAED0 for ; Fri, 1 Feb 2019 09:16:47 +0000 (UTC) Date: Fri, 1 Feb 2019 10:16:46 +0100 (CET) From: Richard Biener To: gcc-patches@gcc.gnu.org Subject: [PATCH] Testcase for PR85497 Message-ID: User-Agent: Alpine 2.20 (LSU 67 2015-01-07) MIME-Version: 1.0 Tested on x86_64-unknown-linux-gnu, applied to trunk. Richard. 2019-02-01 Richard Biener PR tree-optimization/85497 * gcc.dg/graphite/pr85497.c: New testcase. Index: gcc/testsuite/gcc.dg/graphite/pr85497.c =================================================================== --- gcc/testsuite/gcc.dg/graphite/pr85497.c (nonexistent) +++ gcc/testsuite/gcc.dg/graphite/pr85497.c (working copy) @@ -0,0 +1,18 @@ +/* { dg-do compile } */ +/* { dg-options "-O1 -floop-parallelize-all -fno-tree-loop-im --param scev-max-expr-size=1" } */ + +int au; + +void +a8 (int k7) +{ + int xo; + + for (xo = 0; xo < 2; ++xo) + { + int dd; + + for (dd = 0; dd < 2; ++dd) + au = !!k7 ? xo : 0; + } +}