From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31576 invoked by alias); 20 May 2019 07:39:05 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 31198 invoked by uid 89); 20 May 2019 07:39:05 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.1 spammy=H*Ad:U*pinskia, HX-Languages-Length:343, our X-HELO: mail-lj1-f194.google.com Received: from mail-lj1-f194.google.com (HELO mail-lj1-f194.google.com) (209.85.208.194) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 20 May 2019 07:39:04 +0000 Received: by mail-lj1-f194.google.com with SMTP id m15so2156230ljg.13; Mon, 20 May 2019 00:39:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=zLaopT21ZdOecil2ubWyqtXwgtedetLEoRa++MyflYs=; b=EEIqHqBNub+B+6Aoeasaj9bQu35+Dmce1DX9G2rO108r8OsI1Up7YCkOy7fx0OC7xt hnMwNu2rX4AvxOKUjkm6JgjdoLaaqNgd78K/0I2L4gOS/SzL5fNBMJnzl55kn8pptZYE 3CAZGkmDVEYDrsRaNSawUO1UIz4h1MCPYZqTbxZDWmMZQovvMrp8d8Xc80M4UW4kek/B 01gRvi3s9CQ3xG/lHxyGBnXVq8nMsAed0MLDpzc/NYG5IBTot7s1gCnGMa/geRM7fh9X Ry2988PMXuRNOOTaCC39kxLQuH+vAGuXfDjRm/TDCsEV6YFWB/akBkrs7qlOtuNB4MsF 5Svg== MIME-Version: 1.0 From: Lokesh Janghel Date: Mon, 20 May 2019 07:39:00 -0000 Message-ID: Subject: Bug 89889 - worse code compared to clang with alloca() To: john.boyer@tutanota.com, pinskia@gcc.gnu.org, rguenth@gcc.gnu.org, gcc@gcc.gnu.org Content-Type: text/plain; charset="UTF-8" X-SW-Source: 2019-05/txt/msg00155.txt.bz2 Hi, As per our analysis on the issue, I have some queries as per below: Is there any target hooks for alloca? Should we do the same like __builtin_alloca_with_align (array allocation) or we assume the problem as a target based (prologue/epilogue optimization) issue? -- Thanks Lokesh