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. > 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. Jakub