ping a wrong code regression patch

Richard Guenther richard.guenther@gmail.com
Mon Oct 16 11:34:00 GMT 2006


On 8/13/06, Andrew Pinski <pinskia@physics.uc.edu> wrote:
> Sorry for breaking the thread, I lost the old email:
> http://gcc.gnu.org/ml/gcc-patches/2006-06/msg01194.html
>
>
> Here is the patch I applied after a bootstrap and test on
> i686-linux-gnu.
>
> Thanks,
> Andrew Pinski
>
> ChangeLog:
>         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.
>
> testsuite/ChangeLog:
>         Alexandre Oliva  <aoliva@redhat.com>
>
>         PR c/27184
>         * gcc.dg/torture/pr27184.c: New test.

Bootstrapped and tested on x86_64-unknown-linux-gnu, applied to the 4.1 branch.

Richard.



More information about the Gcc-patches mailing list