From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32684 invoked by alias); 5 Nov 2007 00:33:01 -0000 Received: (qmail 32656 invoked by uid 22791); 5 Nov 2007 00:32:55 -0000 X-Spam-Check-By: sourceware.org Received: from nz-out-0506.google.com (HELO nz-out-0506.google.com) (64.233.162.230) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 05 Nov 2007 00:32:53 +0000 Received: by nz-out-0506.google.com with SMTP id s1so3001406nze for ; Sun, 04 Nov 2007 16:32:51 -0800 (PST) Received: by 10.142.155.4 with SMTP id c4mr870692wfe.1194222771128; Sun, 04 Nov 2007 16:32:51 -0800 (PST) Received: by 10.143.4.16 with HTTP; Sun, 4 Nov 2007 16:32:51 -0800 (PST) Message-ID: Date: Mon, 05 Nov 2007 00:33:00 -0000 From: "Andrew Pinski" To: "Jakub Jelinek" Subject: Re: [PATCH] Allow DCE of const or pure calls Cc: "Mark Mitchell" , "Eric Botcazou" , gcc-patches@gcc.gnu.org In-Reply-To: <20071105002036.GP5451@devserv.devel.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20071102200613.GK5451@devserv.devel.redhat.com> <200711031525.40298.ebotcazou@libertysurf.fr> <472E5F9F.5040804@codesourcery.com> <20071105002036.GP5451@devserv.devel.redhat.com> X-IsSubscribed: yes 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 X-SW-Source: 2007-11/txt/msg00157.txt.bz2 On 11/4/07, Jakub Jelinek wrote: > On Sun, Nov 04, 2007 at 04:11:11PM -0800, Mark Mitchell wrote: > > Eric Botcazou wrote: > > >> 2007-11-02 Jakub Jelinek > > >> > > >> * dce.c (deletable_insn_p): Make const or pure calls deletable. > > > > > > Note that flow.c didn't delete these calls (unless inside libcalls) so I'm not > > > sure we want this for 4.3. At one point, we used to put pure/const functions in libcalls but we don't after: http://gcc.gnu.org/ml/gcc-patches/2005-07/msg01198.html So I think this is fixing a regression from 3.4 on a RTL level optimization. -- Pnski