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

           Summary: a modified pointer should be considered as being read in
                    the future
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
                CC: [email protected]


if you have:

void foo(char *buffer){

buffer += 20;
}

llvm says: "Value stored to 'buffer' is never read"

well, you can't assume that because the modified value can be read from the
calling function.


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- 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