[LLVMbugs] [Bug 1895] New: Crash taking size of function
    bugzilla-daemon at cs.uiuc.edu 
    bugzilla-daemon at cs.uiuc.edu
       
    Wed Jan  2 02:24:35 PST 2008
    
    
  
http://llvm.org/bugs/show_bug.cgi?id=1895
           Summary: Crash taking size of function
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: LLVM Codegen
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: sharparrow1 at yahoo.com
                CC: llvmbugs at cs.uiuc.edu
int zxcv(void);
int x=sizeof(zxcv);
crashes with
 Assertion `0 && "Incomplete types have no size!"' failed.
/home/eli/llvmbin/Release/bin/clang((anonymous
namespace)::PrintStackTrace()+0x19)[0x82aea19]
using clang -emit-llvm.
It should fail more gracefully.
-- 
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