[LLVMbugs] [Bug 9198] New: Idempotent Operation Test Ignores Sizes

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Feb 11 03:04:51 PST 2011


           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: unassignedbugs at nondot.org
        ReportedBy: csdavec at swan.ac.uk
                CC: llvmbugs at cs.uiuc.edu

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.

More information about the llvm-bugs mailing list