[LLVMbugs] [Bug 12561] New: Assertion failed: (!I->isInsideBundle() && "First non-phi MI cannot be inside a bundle!"), function getFirstNonPHI, file MachineBasicBlock.cpp, line 147

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Apr 14 19:51:53 PDT 2012


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

             Bug #: 12561
           Summary: Assertion failed: (!I->isInsideBundle() && "First
                    non-phi MI cannot be inside a bundle!"), function
                    getFirstNonPHI, file MachineBasicBlock.cpp, line 147
           Product: libraries
           Version: trunk
          Platform: Macintosh
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Common Code Generator Code
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: chmeeedalf at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


When building a simple Objective-C++ file (below) I see the assertion in the
summary.  If I simply remove the boost include line, it compiles fine.  This is
using boost v1.45.0, and clang trunk 154753, and libc++ from FreeBSD -CURRENT. 
Changing to libstdc++ in FreeBSD-CURRENT base (from gcc 4.2.1), using
tr1/unordered_set and std::tr1::unordered_set, it builds fine as well.

>From a comment in a previous bug I submitted (similar), I did build clang/llvm
with -fno-strict-alignment.



#include <boost/archive/binary_iarchive.hpp>
#include <unordered_set>

@interface Test
@end

@implementation Test
{
    std::unordered_set<id> outObjects;
}
@end

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