[LLVMbugs] [Bug 12605] New: Alignment assertion failure in computeBlockInfo

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Apr 20 16:48:42 PDT 2012


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

             Bug #: 12605
           Summary: Alignment assertion failure in computeBlockInfo
           Product: clang
           Version: trunk
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: LLVM Codegen
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: paul.q.stevenson at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Created attachment 8414
  --> http://llvm.org/bugs/attachment.cgi?id=8414
Full clang output

Building with r155252

Compiling this function:

int main(void)
{
   char a;
   double b;

   ^{
       (void)a;
       (void)b;
   }();
}

with -ccc-host-triple=arm-apple-darwin triggers a clang assertion failure:

Assertion failed: (endAlign >= maxFieldAlign), function computeBlockInfo, file
/Users/paul/llvmtest/llvm/tools/clang/lib/CodeGen/CGBlocks.cpp, line 471.

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