[LLVMbugs] [Bug 2845] New: ICE doesn't like cast to non-integer types

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Sep 30 08:44:18 PDT 2008


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

           Summary: ICE doesn't like cast to non-integer types
           Product: clang
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: AST
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: nunoplopes at sapo.pt
                CC: llvmbugs at cs.uiuc.edu


clang chokes on the following code because ICE doesn't like the cast to char*:

int foo() {
        switch (0) {
                case (int)(char*)0: break;
        }
}


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