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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to