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

           Summary: Warn for use of array types with va_arg
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


Using arrays with va_arg seems to be undefined behavior. It would be useful if
clang actually warned about that, possibly even error by default.

See http://gnats.netbsd.org/45138 for a longer discussion and test cases.

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