re PR middle-end/17407 (ICE in int_mode_for_mode)
authorAndrew Pinski <pinskia@physics.uc.edu>
Mon, 25 Oct 2004 13:27:32 +0000 (13:27 +0000)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Mon, 25 Oct 2004 13:27:32 +0000 (06:27 -0700)
commit4c7c0c70e3aecf557e968d3d0941e21f1f875f83
tree3ea37435d5af3d291b57b64a93db96a445576a2b
parentd87bdb13309e3f691fe0570c16cdcbdb6991d55b
re PR middle-end/17407 (ICE in int_mode_for_mode)

2004-10-25  Andrew Pinski  <pinskia@physics.uc.edu>

        PR middle-end/17407
        * c-decl.c (grokdeclarator) <case cdk_array>: Remove the call
        layout_type as it is already done by build_array_type.
        * tree.c (build_array_type): Layout the type even

2004-10-25  Andrew Pinski  <pinskia@physics.uc.edu>

        PR c++/18121
        * decl.c (grokdeclarator) <case cdk_array>: Remove the call
        layout_type as it is already done by create_array_type_for_decl.

2004-10-25  Andrew Pinski  <pinskia@physics.uc.edu>

        PR middle-end/17407
        * gcc.c-torture/compile/pr17407.c: New test.

        PR c++/18121
        * g++.dg/template/array8.C: New test.

From-SVN: r89533
gcc/ChangeLog
gcc/c-decl.c
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/array8.C [new file with mode: 0644]
gcc/testsuite/gcc.c-torture/compile/pr17407.c [new file with mode: 0644]
gcc/tree.c