[LLVMbugs] [Bug 2079] New: clang asset: initializer with more or less braces than default

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Feb 20 12:54:47 PST 2008


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

           Summary: clang asset: initializer with more or less braces than
                    default
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Semantic Analyzer
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: lauro.venancio at gmail.com
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=1441)
 --> (http://llvm.org/bugs/attachment.cgi?id=1441)
test case

This bug makes 6 tests fail:
Benchmarks/MallocBench/espresso/espresso
Benchmarks/MallocBench/gs/gs
Benchmarks/Prolangs-C/cdecl/cdecl
Benchmarks/Prolangs-C/unix-smail/unix-smail
Benchmarks/VersaBench/bmm/bmm
Benchmarks/MiBench/consumer-lame/consumer-lame

I think, the Sema should emit a warning (as gcc does) and fix the AST.


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