[PATCH] Fix SRA and initializers
Andrew Pinski
pinskia@physics.uc.edu
Tue Jan 4 23:54:00 GMT 2005
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
More information about the Gcc-patches
mailing list