This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PR debug/60655, debug loc expressions
- From: Alan Modra <amodra at gmail dot com>
- To: Richard Biener <richard dot guenther at gmail dot com>
- Cc: Jakub Jelinek <jakub at redhat dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>, "Maciej W. Rozycki" <macro at codesourcery dot com>
- Date: Wed, 10 Sep 2014 11:46:29 +0930
- Subject: Re: PR debug/60655, debug loc expressions
- Authentication-results: sourceware.org; auth=none
- References: <alpine dot DEB dot 1 dot 10 dot 1409020249380 dot 2958 at tp dot orcam dot me dot uk> <CAGWvnyk61JeAUVBogq5uf5gDQzqkj+-VTuNag1FMb=h6ttNztg at mail dot gmail dot com> <20140903053117 dot GF17693 at bubble dot grove dot modra dot org> <20140904122150 dot GL17693 at bubble dot grove dot modra dot org> <alpine dot DEB dot 1 dot 10 dot 1409042020320 dot 27075 at tp dot orcam dot me dot uk> <20140905013004 dot GN17693 at bubble dot grove dot modra dot org> <20140909115027 dot GR17693 at bubble dot grove dot modra dot org> <CAFiYyc1va8=f280dSu6VPkGxQ4=Sixf5q1rx4Hzgte0i08Qmxw at mail dot gmail dot com> <20140909143050 dot GU17454 at tucnak dot redhat dot com> <CAFiYyc29Pa9wUvxWc0iEFTaRq4tDSRuLRY3_pE18=6u6quArYA at mail dot gmail dot com>
On Tue, Sep 09, 2014 at 04:42:04PM +0200, Richard Biener wrote:
> On Tue, Sep 9, 2014 at 4:30 PM, Jakub Jelinek <jakub@redhat.com> 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?
It looks to me that cselib_expand_value_rtx_1 doesn't call
simplify_rtx for DEBUG_EXPR.
--
Alan Modra
Australia Development Lab, IBM