[LLVMbugs] [Bug 3048] New: Crash taking sizeof of invalid type

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Nov 12 00:56:31 PST 2008


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

           Summary: Crash taking sizeof of invalid type
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Semantic Analyzer
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: sharparrow1 at yahoo.com
                CC: llvmbugs at cs.uiuc.edu


Testcase:
int x = sizeof(struct{char qq[x];});

Roughly, the issue is that it crashes trying to evaluate the sizeof.  I'm not
completely sure how to go about fixing this.


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