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

           Summary: Sequence point warning for assignment and
                    assignment+op mix
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


Consider the following input:

int x;

int f(void)
{
    x = x += 1;
    return 0;
}

This should give a warning for undefined behaviour, but clang doesn't currently
give one.

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