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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]


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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to