https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88532

            Bug ID: 88532
           Summary: variable has initializer but incomplete type
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: sasho648 at gmail dot com
  Target Milestone: ---

Consider the following snippet:


main()
{
        struct t a = (sizeof(struct t { }), a);
}

It currently fails with variable 'a' has initializer but incomplete type. The
above code works fine with clang.

Reply via email to