From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31395 invoked by alias); 9 Sep 2014 14:42:08 -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 31383 invoked by uid 89); 9 Sep 2014 14:42:08 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-we0-f178.google.com Received: from mail-we0-f178.google.com (HELO mail-we0-f178.google.com) (74.125.82.178) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Tue, 09 Sep 2014 14:42:07 +0000 Received: by mail-we0-f178.google.com with SMTP id q58so4726991wes.23 for ; Tue, 09 Sep 2014 07:42:04 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.180.187.7 with SMTP id fo7mr30924826wic.58.1410273724287; Tue, 09 Sep 2014 07:42:04 -0700 (PDT) Received: by 10.194.20.69 with HTTP; Tue, 9 Sep 2014 07:42:04 -0700 (PDT) In-Reply-To: <20140909143050.GU17454@tucnak.redhat.com> 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> Date: Tue, 09 Sep 2014 14:42:00 -0000 Message-ID: Subject: Re: PR debug/60655, debug loc expressions From: Richard Biener To: Jakub Jelinek Cc: GCC Patches , "Maciej W. Rozycki" Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2014-09/txt/msg00731.txt.bz2 On Tue, Sep 9, 2014 at 4:30 PM, Jakub Jelinek wrote: > On Tue, Sep 09, 2014 at 04:25:23PM +0200, Richard Biener wrote: >> why wasn't 'result' built using simplify_gen_* in the first place? I also > > It is built using cselib_expand_value_rtx_cb, which calls the various > simplify_*_operation and simplify_rtx too. So why do we need to simplify again then? >> note that debug_insns can have all sorts of weird (even invalid) and >> un-recognized RTL which the simplify_rtx machinery may not like >> (and thus ICE). > > That would be bug in simplify-rtx.c if we ICEd on that. Ok, fair enough. Richard. > Jakub