[llvm-bugs] [Bug 35697] New: Regression(r313729): Assertion `!Old || Old->getCachedLinkage() == D->getCachedLinkage()' failed for external "C" function definition
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Dec 19 11:11:05 PST 2017
https://bugs.llvm.org/show_bug.cgi?id=35697
Bug ID: 35697
Summary: Regression(r313729): Assertion `!Old ||
Old->getCachedLinkage() == D->getCachedLinkage()'
failed for external "C" function definition
Product: clang
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: release blocker
Priority: P
Component: C++
Assignee: unassignedclangbugs at nondot.org
Reporter: arphaman at gmail.com
CC: dgregor at apple.com, llvm-bugs at lists.llvm.org
The commit r313729 introduced a new `!Old || Old->getCachedLinkage() ==
D->getCachedLinkage()' assertion failure that happens in the following cod e
sample:
extern "C" {
typedef struct {
int x;
} *ReturnStruct;
ReturnStruct foo(int s);
}
ReturnStruct foo(int s)
{
}
This is similar to existing bugs like
https://bugs.llvm.org/show_bug.cgi?id=33503 but is a new regression in Clang 6.
--
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/20171219/bb526a48/attachment.html>
More information about the llvm-bugs
mailing list