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 SRA and initializers



On Jan 4, 2005, at 12:16 PM, Richard Henderson wrote:


On Tue, Jan 04, 2005 at 12:01:38PM -0500, Andrew Pinski wrote:
This almost worked, I had to change to make sure that we don't
dereference a null pointer; *list_p could be empty and not point any
where.  After that fix, I was able to bootstrap with the patch.

Cool. Would you check that changed patch in then, please?

Done so with the following changelog:


2005-01-04 Richard Henderson <rth@redhat.com>

        PR tree-opt/19158
        * tree-sra.c (generate_one_element_init): Just
        call gimplify_and_add.
        (generate_element_init): Record the
        new referenced variables and mark them for renaming
        and split out to ...
        (generate_element_init_1): This.
        (scalarize_init): Don't call push_gimplify_context/
        pop_gimplify_context.

Thanks,
Andrew Pinski


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