[cfe-dev] GNU extensions to C99 designated initializers gnu99-init-1.c test case

Eli Friedman eli.friedman at gmail.com
Tue Oct 9 15:55:01 PDT 2012


On Tue, Oct 9, 2012 at 7:49 AM, SENTHIL KUMAR THANGAVELU
<senthil.t at samsung.com> wrote:
> Hi all,
>     I have the following test program and the output if I print n in gdb is also added, used llvm 3.1 release. Looking into InitListChecker::CheckDesignatedInitializer in SemaInit.cpp. Any comments or insights are welcome from clang parser experts. This test case is a reduced version of gcc regression test case gnu99-init-1.c .

What comment specifically are you looking for?  It looks like you
analysis is in the right direction: we're not performing the relevant
recursion in InitListChecker::CheckDesignatedInitializer correctly.

-Eli




More information about the cfe-dev mailing list