[llvm-bugs] [Bug 37339] New: FunctionComparator::cmpInlineAsm is overly restrictive
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri May 4 09:03:52 PDT 2018
https://bugs.llvm.org/show_bug.cgi?id=37339
Bug ID: 37339
Summary: FunctionComparator::cmpInlineAsm is overly restrictive
Product: libraries
Version: trunk
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: Transformation Utilities
Assignee: unassignedbugs at nondot.org
Reporter: n.oxyde at gmail.com
CC: llvm-bugs at lists.llvm.org
cmpInlineAsm will crash with an assertion if the two InlineAsm pointers aren't
equal but their fields are all compared equal. This is overly restrictive,
given two function types may compare equal even if they don't point to the same
function type.
This leads to https://godbolt.org/g/qn3ZNM failing to compile with assertions
on.
Found in https://github.com/rust-lang/rust/pull/49479#issuecomment-386406036.
--
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/20180504/5fc8c53e/attachment.html>
More information about the llvm-bugs
mailing list