[LLVMbugs] [Bug 9570] New: Crash in llvm codegen

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Mar 27 12:48:47 PDT 2011


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

           Summary: Crash in llvm codegen
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: LLVM Codegen
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: asl at math.spbu.ru
                CC: llvmbugs at cs.uiuc.edu


Consider the following code:

namespace Foo {
 static union  {
   unsigned bar[4096] __attribute__((aligned(128)));
 };
}

clang dies with:

Assertion failed: (isa<TypeDecl>(D) && "Unsupported decl kind"), function
EmitTopLevelDecl, file
/Users/asl/Projects/llvm/src/tools/clang/lib/CodeGen/CodeGenModule.cpp, line
2123.

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