[LLVMbugs] [Bug 9669] warn about initializers containing more elements than initialized value

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Apr 10 16:08:36 PDT 2011


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

Chris Lattner <clattner at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
          Component|new bugs                    |Frontend
         Resolution|FIXED                       |
         AssignedTo|unassignedbugs at nondot.org   |unassignedclangbugs at nondot.
                   |                            |org
            Product|new-bugs                    |clang
            Summary|add compile time check for  |warn about initializers
                   |out of bounds array         |containing more elements
                   |definitions                 |than initialized value

--- Comment #2 from Chris Lattner <clattner at apple.com> 2011-04-10 18:08:35 CDT ---
Also, -Warray-bounds.  But sorry, this is a specific case with initializers. 
We should handle this.

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