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

           Summary: clang crashes codegen's conditional of compatible but
                    different function pointers
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: LLVM Codegen
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
                CC: [email protected]


Testcase:
int a();
int b(int);
int c() {return 1 ? a : b;}

crashes clang -emit-llvm.

Potential patch already sent to the list, but I want to make sure this doesn't
get lost.


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