This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix ARRAY_REF with constant index expansion (PR middle-end/28755)


On 9/21/07, Jakub Jelinek <jakub@redhat.com> wrote:

>         PR middle-end/28755
>         * expr.c (expand_constructor): New function.
>         (expand_expr_real_1) <case CONSTRUCTOR>: Call it.
>         (expand_expr_real_1) <case ARRAY_REF>: Call it if VALUE is
>         CONSTRUCTOR.
>
>         * gcc.dg/pr28755.c: New test.

OK.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]