------- Comment #5 from jsm28 at gcc dot gnu dot org  2009-02-04 13:07 -------
Subject: Bug 35433

Author: jsm28
Date: Wed Feb  4 13:07:43 2009
New Revision: 143922

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143922
Log:
        PR c/35433
        * c-typeck.c (composite_type): Set TYPE_SIZE and TYPE_SIZE_UNIT
        for composite type involving a zero-length array type.

testsuite:
        * gcc.dg/init-bad-6.c: New test.

Added:
    branches/gcc-4_3-branch/gcc/testsuite/gcc.dg/init-bad-6.c
Modified:
    branches/gcc-4_3-branch/gcc/ChangeLog
    branches/gcc-4_3-branch/gcc/c-typeck.c
    branches/gcc-4_3-branch/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35433

Reply via email to