Message ID | 548F3F81.7050407@redhat.com |
---|---|
State | New |
Headers | show |
Index: ira.c =================================================================== --- ira.c (revision 218685) +++ ira.c (working copy) @@ -4358,6 +4358,12 @@ rtx_moveable_p (rtx *loc, enum op_type t case CLOBBER: return rtx_moveable_p (&SET_DEST (x), OP_OUT); + case UNSPEC_VOLATILE: + /* It is a bad idea to consider insns with with such rtl + as moveable ones. The insn scheduler also considers them as barrier + for a reason. */ + return false; + default: break; }