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

           Summary: Idempotent Operation Test Ignores Sizes
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


This sequence generates a warning saying that the second store has no effect:

            *(uint8_t*)address = (uint8_t)big;
            *(uint16_t*)address = (uint16_t)big;

This is a bug, but not the kind of bug that is being reported.  The second
store is completely overwriting the first store, so we should be getting a dead
assignment error, not an idempotent operation error.

-- 
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