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] PR18191


On Sunday 19 December 2004 14:03, Steven Bosscher wrote:
> Here's the updated patch that I've tested on x86_64.  I'm testing
> it on a few other targets now.

Bootstrapped and tested now on {i686,x86_64,powerpc,ia64}-suse-linux-gnu
with no new regressions, and the new test case passes too, of course.

Gr.
Steven


> 2004-12-19  Steven Bosscher  <stevenb@suse.de>
>             Andrew Pinski  <pinskia@physics.uc.edu>
>
> 	PR middle-end/18191
> 	PR middle-end/18965
> 	PR middle-end/18999
> 	* expr.c (categorize_ctor_elements_1): Count the total number
> 	of elements in the constructor.
> 	(categorize_ctor_elements): Return it in a new argument.
> 	* tree.h (categorize_ctor_elements): Adjust prototype.
> 	* gimplify.c (gimplify_init_ctor_eval_range): New.
> 	(gimplify_init_ctor_eval): Gimplify RANGE_EXPR.
> 	(gimplify_init_constructor): Block clear the object if the
> 	constructor has fewer elements than the object type.  Only try
> 	to add assignments to individual elements when we have to.
>
> testsuite/
>
> 2004-12-19  Steven Bosscher  <stevenb@suse.de>
>
> 	 * gcc.dg/20041219-1.c: New test.


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