<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Assertion failed: !Packed && "Could not place field even with packed struct!""
   href="http://llvm.org/bugs/show_bug.cgi?id=17576">17576</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Assertion failed: !Packed && "Could not place field even with packed struct!"
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows NT
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>LLVM Codegen
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>rnk@google.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu, timurrrr@google.com, whunt@google.com
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>This happens when self-hosting clang on a bunch of files.  This one in
particular was lib/AST/StmtPrinter.cpp.

I'm going to try to dump the AST record layout and see if it's funny.

file ..\tools\clang\lib\CodeGen\CGRecordLayoutBuilder.cpp, line 426

Simple stack trace:

`anonymous namespace'::CGRecordLayoutBuilder::LayoutField()
`anonymous namespace'::CGRecordLayoutBuilder::LayoutFields()
`anonymous namespace'::CGRecordLayoutBuilder::Layout()
clang::CodeGen::CodeGenTypes::ComputeRecordLayout()
clang::CodeGen::CodeGenTypes::ConvertRecordDeclType()
clang::CodeGen::CodeGenTypes::ConvertType()
clang::CodeGen::CodeGenTypes::ConvertTypeForMem()
clang::CodeGen::CodeGenTypes::ConvertType()
clang::CodeGen::CodeGenTypes::ConvertTypeForMem()
`anonymous namespace'::CGRecordLayoutBuilder::LayoutField()
`anonymous namespace'::CGRecordLayoutBuilder::LayoutFields()
`anonymous namespace'::CGRecordLayoutBuilder::Layout()
clang::CodeGen::CodeGenTypes::ComputeRecordLayout()
clang::CodeGen::CodeGenTypes::ConvertRecordDeclType()
clang::CodeGen::CodeGenTypes::getCGRecordLayout()
`anonymous namespace'::CGRecordLayoutBuilder::CheckZeroInitializable()
`anonymous namespace'::CGRecordLayoutBuilder::LayoutField()
`anonymous namespace'::CGRecordLayoutBuilder::LayoutFields()
`anonymous namespace'::CGRecordLayoutBuilder::Layout()
clang::CodeGen::CodeGenTypes::ComputeRecordLayout()
clang::CodeGen::CodeGenTypes::ConvertRecordDeclType()
clang::CodeGen::CodeGenTypes::ConvertType()
clang::CodeGen::CodeGenTypes::ConvertTypeForMem()
clang::CodeGen::CodeGenTypes::ConvertType()
clang::CodeGen::CodeGenTypes::arrangeLLVMFunctionInfo()
arrangeLLVMFunctionInfo()
arrangeCXXMethodType()
clang::CodeGen::CodeGenTypes::arrangeCXXMethodType()
clang::CodeGen::CodeGenTypes::arrangeCXXMethodDeclaration()
clang::CodeGen::CodeGenTypes::arrangeFunctionDeclaration()
clang::CodeGen::CodeGenTypes::arrangeGlobalDeclaration()
clang::CodeGen::CodeGenModule::EmitGlobalFunctionDefinition()
clang::CodeGen::CodeGenModule::EmitGlobalDefinition()
clang::CodeGen::CodeGenModule::EmitGlobal()
clang::CodeGen::CodeGenModule::EmitTopLevelDecl()
`anonymous namespace'::CodeGeneratorImpl::HandleTopLevelDecl()
clang::BackendConsumer::HandleTopLevelDecl()
clang::ParseAST()
clang::ASTFrontendAction::ExecuteAction()
clang::CodeGenAction::ExecuteAction()
clang::FrontendAction::Execute()
clang::CompilerInstance::ExecuteAction()
clang::ExecuteCompilerInvocation()</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>