[LLVMbugs] [Bug 2362] New: Duplicate diagnostic

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sat May 24 06:47:58 PDT 2008


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

           Summary: Duplicate diagnostic
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: NetBSD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Semantic Analyzer
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: neil at daikokuya.co.uk
                CC: llvmbugs at cs.uiuc.edu


int i; int c[][i] = { 0 };

$ clang /tmp/bug.c
/tmp/bug.c:1:16: error: variable-sized object may not be initialized
int i; int c[][i] = { 0 };
               ^
/tmp/bug.c:1:16: error: variable-sized object may not be initialized
int i; int c[][i] = { 0 };
               ^
2 diagnostics generated.


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