[llvm-bugs] [Bug 37182] New: Assertion `HasHungOffUses && "alloc must have hung off uses"' failed.

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Apr 19 14:46:19 PDT 2018


https://bugs.llvm.org/show_bug.cgi?id=37182

            Bug ID: 37182
           Summary: Assertion `HasHungOffUses && "alloc must have hung off
                    uses"' failed.
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: LLVM Codegen
          Assignee: unassignedclangbugs at nondot.org
          Reporter: blitzrakete at gmail.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 20204
  --> https://bugs.llvm.org/attachment.cgi?id=20204&action=edit
crash log

I get this assertion when I enable optimization (-O1, -O2, -O3, -Ofast, -Os or
-Og but not -O0 or nothing) for almost every program. This is one of them:

#include <iostream>

int main() {
  std::cout << "Hello World\n";
}

The CodeGen tests fail miserably as a result too.
I attached the log crash for that hello word program and with -03.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180419/7ffaf4d2/attachment.html>


More information about the llvm-bugs mailing list