Merge remote-tracking branch 'origin/master' into rustup

This commit is contained in:
Ralf Jung 2018-10-14 10:35:27 +02:00
commit 837a17625a

View File

@ -134,7 +134,7 @@ fn call_intrinsic(
"xsub" => mir::BinOp::Sub,
_ => bug!(),
};
// FIXME: what do atomics do on overflow?
// Atomics wrap around on overflow.
self.binop_ignore_overflow(op, old, rhs, ptr.into())?;
}