[LLVMbugs] [Bug 15122] New: Broken module, no Basic Block terminator

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Jan 30 08:21:40 PST 2013


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

             Bug #: 15122
           Summary: Broken module, no Basic Block terminator
           Product: clang
           Version: trunk
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: joerg.richter at pdv-fs.de
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified


cat > t.cc <<EOF
struct Foo
{
    Foo();
};
struct Bar
{
    Bar();
    ~Bar();
};
struct Table {
    Bar bar;
    Foo foo[1];
};
Table table[] = { {} };
EOF
clang -c t.cc


Gives:
Basic Block in function '__cxx_global_var_init' does not have terminator!
...

Seen with trunk from 2013-01-25.

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