[LLVMbugs] [Bug 2919] New: gcc regards struct foo and const struct foo as __builtin_types_compatible_p
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Sat Oct 18 19:18:54 PDT 2008
http://llvm.org/bugs/show_bug.cgi?id=2919
Summary: gcc regards struct foo and const struct foo as
__builtin_types_compatible_p
Product: clang
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Semantic Analyzer
AssignedTo: unassignedbugs at nondot.org
ReportedBy: daniel at zuster.org
CC: llvmbugs at cs.uiuc.edu
gcc accepts the following code which clang rejects:
--
int a0[__builtin_types_compatible_p(struct foo,
const struct foo) ? 1 : -1];
--
Reported as problem compiling Dovecot.
--
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.
More information about the llvm-bugs
mailing list