[LLVMbugs] [Bug 3342] New: Distinguish pointer incompatibilities where only sign differs from other incompatibilities

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri Jan 16 11:25:43 PST 2009


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

           Summary: Distinguish pointer incompatibilities where only sign
                    differs from other incompatibilities
           Product: clang
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Semantic Analyzer
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: danchr at gmail.com
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=2397)
 --> (http://llvm.org/bugs/attachment.cgi?id=2397)
First attempt…

Lots of legacy code happily compares loads of pointers of incompatible signs.
The attached patch is a rough stab at implementing the -Wno-pointer-sign flag
that GCC has for suppressing these.


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