From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 110220 invoked by alias); 28 Oct 2015 15:38:58 -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 109399 invoked by uid 89); 28 Oct 2015 15:38:57 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 X-HELO: fencepost.gnu.org Received: from fencepost.gnu.org (HELO fencepost.gnu.org) (208.118.235.10) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Wed, 28 Oct 2015 15:38:57 +0000 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53936) by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ZrSoR-0002mJ-0r for gcc-patches@gnu.org; Wed, 28 Oct 2015 11:38:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZrSoM-0006Bi-Lv for gcc-patches@gnu.org; Wed, 28 Oct 2015 11:38:54 -0400 Received: from mx2.suse.de ([195.135.220.15]:56385) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZrSoM-0006BY-Ci for gcc-patches@gnu.org; Wed, 28 Oct 2015 11:38:50 -0400 Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id A55C1AC09; Wed, 28 Oct 2015 15:39:08 +0000 (UTC) Date: Wed, 28 Oct 2015 15:45:00 -0000 From: Richard Biener To: Tom de Vries cc: Richard Biener , "gcc-patches@gnu.org" Subject: Re: [PATCH, 2/6] Rename make_restrict_var_constraints to make_param_constraints In-Reply-To: <562F72A9.6080401@mentor.com> Message-ID: References: <562E0CF5.8000606@mentor.com> <562E5381.5@mentor.com> <562F26E2.40906@mentor.com> <562F6D1A.4010001@mentor.com> <562F72A9.6080401@mentor.com> User-Agent: Alpine 2.11 (LSU 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] X-Received-From: 195.135.220.15 X-SW-Source: 2015-10/txt/msg03056.txt.bz2 On Tue, 27 Oct 2015, Tom de Vries wrote: > On 27/10/15 13:24, Tom de Vries wrote: > > Thinking it over a bit more, I realized the constraint handling started > > to be messy. I've reworked the patch series to simplify that first. > > > > 1 Simplify constraint handling > > 2 Rename make_restrict_var_constraints to make_param_constraints > > 3 Add recursion to make_param_constraints > > 4 Add handle_param parameter to create_variable_info_for_1 > > 5 Handle recursive restrict pointer in create_variable_info_for_1 > > 6 Handle restrict struct fields recursively > > > > Currently doing bootstrap and regtest on x86_64. > > > > I'll repost the patch series in reply to this message. > > > > This no-functional-changes patch: > - moves the one constraint handling loop left in > intra_create_variable_infos to make_restrict_var_constraints > - renames make_restrict_var_constraints to make_param_constraints > - adds a parameter toplevel to make_param_constraints to distinguish > between the two calling contexts Please pass in the name "PARAM_RESTRICT" vs. "GLOBAL_RESTRICT" instead. > Thanks, > - Tom > -- Richard Biener SUSE LINUX GmbH, GF: Felix Imendoerffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nuernberg)