http://llvm.org/bugs/show_bug.cgi?id=2746
Summary: handling casts to union transparently
Product: clang
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Semantic Analyzer
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
CC: [email protected]
transparently casting to union is not handled by clang. Note that this is not
the same as PR2015.
test case (gcc accepts it, but produces a warning with -pedantic):
union rqinfou {
struct bio *bio;
};
int vinumstart(struct bio *bio) {
logrq((union rqinfou) bio, bio);
}
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs