Skip to content

Commit 38a6a7a

Browse files
committed
auto merge of #6276 : brson/rust/issue-6122, r=graydon
2 parents 154f3b0 + 3cafe90 commit 38a6a7a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libstd/ebml.rs

+1
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,7 @@ pub mod reader {
379379
fn read_int(&mut self) -> int {
380380
let v = doc_as_u64(self.next_doc(EsInt)) as i64;
381381
if v > (int::max_value as i64) || v < (int::min_value as i64) {
382+
debug!("FIXME #6122: Removing this makes this function miscompile");
382383
fail!(fmt!("int %? out of range for this architecture", v));
383384
}
384385
v as int

0 commit comments

Comments
 (0)