[Bug rtl-optimization/27761] combine miscompiles

matz at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed May 24 18:22:00 GMT 2006



------- Comment #3 from matz at gcc dot gnu dot org  2006-05-24 18:22 -------
Created an attachment (id=11508)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11508&action=view)
possible patch

I was wrong about simplify_if_then_else, it uses pc_rtx in all subst calls.
But that leaves three others which use their TO argument unprotected.  The
patch here solves the miscompilation for me.  As of yet, untested otherwise.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27761



More information about the Gcc-bugs mailing list