[LLVMbugs] [Bug 19740] New: operator >>(istream, void * &) reads wrong value on LP64 environment

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed May 14 05:23:03 PDT 2014


            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: unassignedclangbugs at nondot.org
          Reporter: kikairoya+llvm at gmail.com
                CC: llvmbugs at cs.uiuc.edu, mclow.lists at gmail.com
    Classification: Unclassified

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

minimum example:

old version works correctly:

compare to libstdc++

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140514/9e459047/attachment.html>

More information about the llvm-bugs mailing list