http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55193
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED AssignedTo|unassigned at gcc dot |jakub at gcc dot gnu.org |gnu.org | --- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-12-10 17:53:01 UTC --- Created attachment 28915 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28915 gcc48-pr55193.patch Untested fix. For changes to DEBUG_INSNs, generally simplify_replace_fn_rtx is the best thing, it takes care of simplifying everything that is needed, both for the cases where something changes from non-VOIDmode into VOIDmode (then simplification is required; e.g. as on this testcase (zero_extend:DI (reg:SI eax) 0) where eax is replaced by (const_int 0)), and a nice thing to have otherwise.