From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 129563 invoked by alias); 2 Nov 2015 17:40:19 -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 129553 invoked by uid 89); 2 Nov 2015 17:40:18 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.1 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 X-HELO: nikam.ms.mff.cuni.cz Received: from nikam.ms.mff.cuni.cz (HELO nikam.ms.mff.cuni.cz) (195.113.20.16) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Mon, 02 Nov 2015 17:40:17 +0000 Received: by nikam.ms.mff.cuni.cz (Postfix, from userid 16202) id A719F54023D; Mon, 2 Nov 2015 18:40:12 +0100 (CET) Date: Mon, 02 Nov 2015 17:40:00 -0000 From: Jan Hubicka To: Richard Biener Cc: Jan Hubicka , gcc-patches@gcc.gnu.org Subject: Re: Allow matching of side effects in operand_equal_p Message-ID: <20151102174012.GA8977@kam.mff.cuni.cz> References: <20151102034853.GA91328@kam.mff.cuni.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-SW-Source: 2015-11/txt/msg00099.txt.bz2 > > But you don't even need the call case for tailmerge or ICF as we don't > have CALL_EXPRs in GIMPLE. No? Sure, it will do the trick only if ?: generic folding is updated to pass OEP_MATCH_SIDE_EFFECTS > > And you mean the difference of OEP_CONSTANT_ADDRESS_OF to > OEP_ADDRESS_OF | OEP_MATCH_SIDE_EFFECTS then, right? > > Ok if you go forward with that and do not change the CALL_EXPR case > for now (you may add a FIXME comment). OK. Honza