[llvm-bugs] [Bug 40386] New: Crash on cyclic struct

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Jan 20 05:34:05 PST 2019


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

            Bug ID: 40386
           Summary: Crash on cyclic struct
           Product: tools
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: llc
          Assignee: unassignedbugs at nondot.org
          Reporter: lammich at in.tum.de
                CC: llvm-bugs at lists.llvm.org

Created attachment 21357
  --> https://bugs.llvm.org/attachment.cgi?id=21357&action=edit
ll file to trigger bug

llc core-dumps when a cyclic struct is used. Expectation would be to get a
well-defined error message. 

Reproduction of bug:

> llc -O0 cyclic_type.ll 
[...]
Stack dump:
0.      Program arguments: llc -O0 cyclic_type.ll 
1.      Running pass 'Function Pass Manager' on module
'cyclic_type.ll'.
2.      Running pass 'X86 DAG->DAG Instruction Selection' on function '
@f'
Floating point exception (core dumped)

-- 
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/20190120/d3c71b24/attachment.html>


More information about the llvm-bugs mailing list