[LLVMbugs] [Bug 3619] New: ConstantArrayType's profile does not contain storage class.
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Thu Feb 19 03:58:18 PST 2009
http://llvm.org/bugs/show_bug.cgi?id=3619
Summary: ConstantArrayType's profile does not contain storage
class.
Product: clang
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Semantic Analyzer
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: bolzoni at cs.unipr.it
CC: llvmbugs at cs.uiuc.edu, bagnara at cs.unipr.it
Test case:
---->
void f(int b[5][static 5]);
int a[5][5];
----<
the latter array type contains the static storage class.
I know this code is invalid for C99 6.7.5.2 (refused by gcc, accepted by
clang,) but once clang will manage the static keyword in the array declaration
correctly (without replacing the array with a pointer) the problem will occur
in this similar code:
---->
void f(int b[static 5][5]);
int a[5][5];
----<
--
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