[LLVMbugs] [Bug 11343] New: clang does not compute composite type correctly for function redeclaration
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Nov 8 14:30:16 PST 2011
http://llvm.org/bugs/show_bug.cgi?id=11343
Bug #: 11343
Summary: clang does not compute composite type correctly for
function redeclaration
Product: clang
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P
Component: -New Bugs
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: sharparrow1 at yahoo.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Testcase:
typedef int IA[];
typedef int A10[10];
extern A10 *c5(void);
extern IA *c5(void);
int test[sizeof(*c5())];
This is valid C; clang rejects it. Not really a serious issue in practice, but
strictly speaking we aren't doing the right thing here.
--
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