[llvm-bugs] [Bug 35724] New: regression (r315984): fatal error: error in backend: Broken function found (Did not see access type in access path!)
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Dec 21 14:05:46 PST 2017
https://bugs.llvm.org/show_bug.cgi?id=35724
Bug ID: 35724
Summary: regression (r315984): fatal error: error in backend:
Broken function found (Did not see access type in
access path!)
Product: clang
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: -New Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: arphaman at gmail.com
CC: llvm-bugs at lists.llvm.org
The commit r315984 causes a backend crash in this code sample:
class a {
public:
int b;
};
class c : public a {};
class d {
public:
c f;
};
int fn1(d *e) { return (&(e->f))->b == 0; }
This is the crash:
Did not see access type in access path!
%2 = load i32, i32* %b, align 4, !tbaa !7
!7 = !{!8, !10, i64 0}
fatal error: error in backend: Broken function found, compilation aborted!
--
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/20171221/379e6690/attachment.html>
More information about the llvm-bugs
mailing list