From patchwork Thu May 16 11:42:23 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Martin_Li=C5=A1ka?= X-Patchwork-Id: 1100496 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-500887-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="HugxeH7V"; 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 454V0B41ZVz9sNf for ; Thu, 16 May 2019 21:42:34 +1000 (AEST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :subject:to:cc:message-id:date:mime-version:content-type; q=dns; s=default; b=PWaPC+3xJUqdR4XH6Y5b3/AZk8fTPdMSxg0hxG+5JmOk56HJSH HHU/9sOF9/lDv4v07LxB0q+dA8JO/eY/ZkVcdajQ0Xq3jj/sYdhXoYrNS+J915QO SO38xVxN6ZypVCmTX8mlKdNS8ZhVWelAkPatiRje3dk8xxxtWXQf10/cw= 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 :subject:to:cc:message-id:date:mime-version:content-type; s= default; bh=qvsGXqRQ62I6YpF1yMu8eiJLmjw=; b=HugxeH7Vh4xMYPUQFZLY RPmC1bfeWASi8zr9TYQ9bCFug+04PwgiAU0GB/Cj0Kakg6Hse9dx/08cQ31JDuFw FLUifDYvmhJxTRGI3PNvdxDFWonW1toYX1vc1ZDr8Sm2B4EUw4027XLP8kMcUrIj Yz5NO/P1RbEsOJs4cRKshYs= Received: (qmail 24596 invoked by alias); 16 May 2019 11:42: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 24585 invoked by uid 89); 16 May 2019 11:42:26 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-15.7 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_PASS autolearn=ham version=3.3.1 spammy=HX-Languages-Length:1109 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; Thu, 16 May 2019 11:42:25 +0000 Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id B73C6AFCC; Thu, 16 May 2019 11:42:23 +0000 (UTC) From: =?utf-8?q?Martin_Li=C5=A1ka?= Subject: [PATCH] Remove a test-case that leads to a huge stack (and file) allocation (PR middle-end/90478). To: gcc-patches@gcc.gnu.org Cc: Christophe Lyon , nsz@gcc.gnu.org Message-ID: Date: Thu, 16 May 2019 13:42:23 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 X-IsSubscribed: yes Hi. I'm going to remove the test as it leads to a huge .s files and stack allocation at gcc/stmt.c:777 Ready for trunk? Martin gcc/testsuite/ChangeLog: 2019-05-16 Martin Liska PR middle-end/90478 * gcc.dg/tree-ssa/pr90478-2.c: Remove. --- gcc/testsuite/gcc.dg/tree-ssa/pr90478-2.c | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 gcc/testsuite/gcc.dg/tree-ssa/pr90478-2.c diff --git a/gcc/testsuite/gcc.dg/tree-ssa/pr90478-2.c b/gcc/testsuite/gcc.dg/tree-ssa/pr90478-2.c deleted file mode 100644 index f0fc103a888..00000000000 --- a/gcc/testsuite/gcc.dg/tree-ssa/pr90478-2.c +++ /dev/null @@ -1,17 +0,0 @@ -/* { dg-do compile } */ -/* { dg-options "-Os --param jump-table-max-growth-ratio-for-size=2147483647" } */ - -long -foo (long x, long y) -{ - x = x & y; - switch (y) - { - case 63L: x >>= 0; break; - case 4032L: x >>= 6; break; - case 258048L: x >>= 12; break; - case 16515072L: x >>= 18; break; - default: __builtin_unreachable (); - } - return x; -}