[LLVMbugs] [Bug 4704] New: cast from ptr to scalar crashes clang

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sun Aug 9 16:40:43 PDT 2009


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

           Summary: cast from ptr to scalar crashes clang
           Product: clang
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: LLVM Codegen
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: nunoplopes at sapo.pt
                CC: llvmbugs at cs.uiuc.edu


recent regression when generating assembly for the following code:

// clang-cc -S -O2
void f() {
        int a = (int)("") - 0;
        int b = (int)(""); // possibly different bug
}


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