[LLVMbugs] [Bug 3130] New: "int a = 2.0 ? 1 : 2;" crashes clang

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Nov 25 08:28:01 PST 2008


           Summary: "int a = 2.0 ? 1 : 2;" 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

the following crashes 'clang -emit-llvm':
int a = 2.0 ? 1 : 2;

it crashes with -std=gnu99 and -std=c99, which are two different bugs (because
clang has different code for strict and GNU modes)

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