[LLVMbugs] [Bug 1824] New: sema segfaults on conditional operator	without LHS
    bugzilla-daemon at cs.uiuc.edu 
    bugzilla-daemon at cs.uiuc.edu
       
    Sun Nov 25 09:24:58 PST 2007
    
    
  
http://llvm.org/bugs/show_bug.cgi?id=1824
           Summary: sema segfaults on conditional operator without LHS
           Product: cfe
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Semantic Analyzer
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: nunoplopes at sapo.pt
                CC: llvmbugs at cs.uiuc.edu
this makes clang segfault:
int a = 1?:3;
This is because Sema::UsualUnaryConversions() dereferences LHS (NULL) several
times.
-- 
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