[LLVMbugs] [Bug 3314] clang treats local array with constant var as size as VLA

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sun Jan 11 11:53:12 PST 2009


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


Chris Lattner <clattner at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




--- Comment #1 from Chris Lattner <clattner at apple.com>  2009-01-11 13:53:11 ---
Clang is doing the right thing there.  Per the C definition, that is a VLA.  I
would much rather implement VLAs that add hacks to work around them being
missing.  Thanks for filing the bug though!


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