[LLVMbugs] [Bug 10648] Flexible array members not initialized properly

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Aug 23 15:28:54 PDT 2011


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

Eli Friedman <sharparrow1 at yahoo.com> changed:

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

--- Comment #2 from Eli Friedman <sharparrow1 at yahoo.com> 2011-08-23 17:28:54 CDT ---
We don't support the given construct, but clang wasn't properly rejecting it. 
(clang only supports the GNU flexible array initialization extension on
variables with static storage duration.)

r138398 fixes the error checking so we give proper error messages.

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