On Tue, Sep 9, 2014 at 4:30 PM, Jakub Jelinek <ja...@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? >> 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