r116116 - in /trunk/gcc: ChangeLog c-decl.c c-t...

pinskia@gcc.gnu.org pinskia@gcc.gnu.org
Sun Aug 13 20:16:00 GMT 2006


Author: pinskia
Date: Sun Aug 13 21:16:46 2006
New Revision: 116116

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116116
Log:
2006-08-13  Alexandre Oliva  <aoliva@redhat.com>
            Andrew Pinski  <pinskia@physics.uc.edu>

        PR c/27184
        * tree.c (build_array_type): Unify array types with
        unspecified index_type.
        * c-decl.c (grokdeclarator): Make sure we do not modify a
        unified incomplete array type.
        * c-typeck.c (store_init_value): Create distinct type before
        filling in the index type in an initializer from a compound
        literal.

        * c-decl.c (grokdeclarator): Remove code where we copy the
        array type over.

2006-08-13  Alexandre Oliva  <aoliva@redhat.com>

        PR c/27184
        * gcc.dg/torture/pr27184.c: New test


Added:
    trunk/gcc/testsuite/gcc.dg/torture/pr27184.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/c-decl.c
    trunk/gcc/c-typeck.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree.c



More information about the Gcc-cvs mailing list