http://llvm.org/bugs/show_bug.cgi?id=19740

            Bug ID: 19740
           Summary: operator >>(istream, void * &) reads wrong value on
                    LP64 environment
           Product: libc++
           Version: 3.3
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified

operator >>(istream, void * &) stores only higher 32bit value of 64bit pointer
value to destination.

minimum example:
http://melpon.org/wandbox/permlink/X1NTsMmeqS0zAH1z

old version works correctly:
http://melpon.org/wandbox/permlink/FDNTts8q18s0wqEa

compare to libstdc++
http://melpon.org/wandbox/permlink/lnt81Rg8j1kHhQhu

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to