[LLVMbugs] [Bug 2352] New: extern vla incorrectly accepted

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed May 21 15:04:46 PDT 2008


http://llvm.org/bugs/show_bug.cgi?id=2352

           Summary: extern vla incorrectly accepted
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Semantic Analyzer
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: sharparrow1 at yahoo.com
                CC: llvmbugs at cs.uiuc.edu


Forked from Bug 2347

void f (unsigned int m)
{
  extern int e[2][m];

  e[0][0] = 0;
}

Should print a diagnostic; this violates the constraint in C99 6.7.5.2p2.

Related bug: Bug 2044.


-- 
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