[llvm-bugs] [Bug 44896] New: Release mode clang crashes with llvm-ir input

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Feb 13 07:49:36 PST 2020


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

            Bug ID: 44896
           Summary: Release mode clang crashes with llvm-ir input
           Product: libraries
           Version: 10.0
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Support Libraries
          Assignee: unassignedbugs at nondot.org
          Reporter: jeroen.dobbelaere at synopsys.com
                CC: llvm-bugs at lists.llvm.org

A release build of clang (top-of-tree; llvm-10) crashes with following llvm-ir
input:

---
  define linkonce i8* @b(i8* %a)
  {
     ret i8* %a
  }
---

and a command line like: clang -O3 S -emit-llvm test.ll

Also see:   https://www.godbolt.org/z/7NjLKP

Note: clang-9 was fine.

-- 
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/20200213/3ec6bdaf/attachment.html>


More information about the llvm-bugs mailing list