From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25778 invoked by alias); 16 Oct 2014 07:08:06 -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 25767 invoked by uid 89); 16 Oct 2014 07:08:06 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Thu, 16 Oct 2014 07:08:04 +0000 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s9G783LI030779 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 16 Oct 2014 03:08:03 -0400 Received: from tucnak.zalov.cz (ovpn-116-116.ams2.redhat.com [10.36.116.116]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s9G781Y2027676 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NO); Thu, 16 Oct 2014 03:08:03 -0400 Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.14.9/8.14.9) with ESMTP id s9G77x6O014939; Thu, 16 Oct 2014 09:08:00 +0200 Received: (from jakub@localhost) by tucnak.zalov.cz (8.14.9/8.14.9/Submit) id s9G77wZi014938; Thu, 16 Oct 2014 09:07:58 +0200 Date: Thu, 16 Oct 2014 07:20:00 -0000 From: Jakub Jelinek To: GCC Patches , Richard Biener Subject: Re: PR debug/60655, debug loc expressions Message-ID: <20141016070758.GF10376@tucnak.redhat.com> Reply-To: Jakub Jelinek References: <20140903053117.GF17693@bubble.grove.modra.org> <20140904122150.GL17693@bubble.grove.modra.org> <20140905013004.GN17693@bubble.grove.modra.org> <20140909115027.GR17693@bubble.grove.modra.org> <20140909143050.GU17454@tucnak.redhat.com> <20140910021629.GS17693@bubble.grove.modra.org> <20141016065557.GJ4267@bubble.grove.modra.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20141016065557.GJ4267@bubble.grove.modra.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-IsSubscribed: yes X-SW-Source: 2014-10/txt/msg01463.txt.bz2 On Thu, Oct 16, 2014 at 05:25:57PM +1030, Alan Modra wrote: > Ping? > https://gcc.gnu.org/ml/gcc-patches/2014-09/msg00704.html I think the simplification should be done when constructing the expressions, i.e. if possible in the simplification callback or so if it isn't performed at some level. Because otherwise, you construct the RTL all the way up into complex expressions, and then another simplification will, if there are simplifications e.g. very deep in the expressions, copy the rest all the way up, creating tons of GC garbage. So, please find the spot where we forget to simplify stuff, and put the simplification there. Jakub