From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 92088 invoked by alias); 20 Mar 2018 21:44:46 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 92072 invoked by uid 89); 20 Mar 2018 21:44:46 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mail-wm0-f65.google.com Received: from mail-wm0-f65.google.com (HELO mail-wm0-f65.google.com) (74.125.82.65) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 20 Mar 2018 21:44:44 +0000 Received: by mail-wm0-f65.google.com with SMTP id e194so6199101wmd.3 for ; Tue, 20 Mar 2018 14:44:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:mail-followup-to:cc:subject:references :date:in-reply-to:message-id:user-agent:mime-version :content-transfer-encoding; bh=CCKnRAbl/YOd1Y4cy1l6Q7uhdwNxSSFJoPgN0InQRKI=; b=J4Hmkk8hjfN6zeyq0b2kdogcs0wyWletBjxs9L7jIOR4hIn1FKjhtnBnjZ2bSPzhDa iCuDZS/nRNPk1TnlyfOZu0SJmgkQugmqk3LFwReKpl/r1g85c2+Xm97wyOQ71E9c0GbD 3bPcdD7CxvH7lqodzioxfU/Lu2UgwCKJsTEyDAXscCRQckkBt6gTISH+teiDDlHGCMzm m4X6xCOuUJFSCPNGv874nm9ufrK8jW82WyjXg2GtqquYcXv3RPY44n9CZk6Mdx628DHh e5A5y9QaHGw+Rey4kzQ7sEtE34Y1f1VH4EghPVKMUmE0yQxo+Kk/kEqE2xBsxzMdjuTF nw+g== X-Gm-Message-State: AElRT7FnMP58KiuG6iaVvFfxV/R9U0Ak1E8Wx6Ve47vKf2JUxrc3WL7l 1u97kTQapz1iIdaeJ2XmmU1PIQeedyE= X-Google-Smtp-Source: AG47ELuqKok9HWmgTSG7JJifTAzkm5qlg8I0+N88hg0eSvsGz0yzZuv5vG9M14AkFCTBtJhc26UeBQ== X-Received: by 10.28.234.207 with SMTP id g76mr842608wmi.43.1521582282089; Tue, 20 Mar 2018 14:44:42 -0700 (PDT) Received: from localhost (79.58.7.51.dyn.plus.net. [51.7.58.79]) by smtp.gmail.com with ESMTPSA id b81sm2360574wmb.36.2018.03.20.14.44.40 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 20 Mar 2018 14:44:41 -0700 (PDT) From: Richard Sandiford To: Jeff Law Mail-Followup-To: Jeff Law ,Martin =?utf-8?Q?Li=C5=A1ka?= , gcc-patches@gcc.gnu.org, richard.sandiford@linaro.org Cc: Martin =?utf-8?Q?Li=C5=A1ka?= , gcc-patches@gcc.gnu.org Subject: Re: [PATCH] Fix compile-time hog in MPX boundary checking (PR target/84988). References: Date: Tue, 20 Mar 2018 21:53:00 -0000 In-Reply-To: (Jeff Law's message of "Tue, 20 Mar 2018 13:37:21 -0600") Message-ID: <87a7v2zak7.fsf@linaro.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-SW-Source: 2018-03/txt/msg01026.txt.bz2 Jeff Law writes: > On 03/20/2018 01:36 PM, Martin Li=C5=A1ka wrote: >> Hi. >>=20 >> This is a work-around to not iterate all members of array that can be hu= ge. >> As MPX will be removed in GCC 9.x, I hope it's acceptable. I don't want >> to come >> up with a new param for it. >>=20 >> Survives tests&bootstrap on x86_64-linux-gnu. >>=20 >> Martin >>=20 >> gcc/ChangeLog: >>=20 >> 2018-03-20=C2=A0 Martin Liska=C2=A0 >>=20 >> =C2=A0=C2=A0=C2=A0=C2=A0PR target/84988 >> =C2=A0=C2=A0=C2=A0=C2=A0* tree-chkp.c (CHKP_ARRAY_MAX_CHECK_STEPS): Defi= ne a new macro. >> =C2=A0=C2=A0=C2=A0=C2=A0(chkp_find_bound_slots_1): Limit number of itera= tions. > Or just CLOSE/WONTFIX :-) > > I've got no objections here -- we want to minimize the effort put into > CHKP given its going to be deprecated. The problem is that this affects normal configs, not just ones with MPX enabled. Thanks, Richard