about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-05-07 06:06:42 -0700
committerbors <bors@rust-lang.org>2013-05-07 06:06:42 -0700
commit38a6a7a394fa55235ff0b3cab4d0903d7ba5a5a3 (patch)
tree64f20e13a44e5a9a42782882ce5c0858d866ab6d /src/libstd
parent154f3b00e0617e379d005b3aa7f41e8f1bea7bd8 (diff)
parent3cafe905a406a2645f8bc7a2a6d50f24817faa4a (diff)
downloadrust-38a6a7a394fa55235ff0b3cab4d0903d7ba5a5a3.tar.gz
rust-38a6a7a394fa55235ff0b3cab4d0903d7ba5a5a3.zip
auto merge of #6276 : brson/rust/issue-6122, r=graydon
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/ebml.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstd/ebml.rs b/src/libstd/ebml.rs
index 864a49a1429..af433c6dd9d 100644
--- a/src/libstd/ebml.rs
+++ b/src/libstd/ebml.rs
@@ -379,6 +379,7 @@ pub mod reader {
         fn read_int(&mut self) -> int {
             let v = doc_as_u64(self.next_doc(EsInt)) as i64;
             if v > (int::max_value as i64) || v < (int::min_value as i64) {
+                debug!("FIXME #6122: Removing this makes this function miscompile");
                 fail!(fmt!("int %? out of range for this architecture", v));
             }
             v as int