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: unassignedclangb...@nondot.org
Reporter: arpha...@gmail.com
CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs