r158219 - in /trunk/gcc: ChangeLog expr.c gimpl...

ebotcazou@gcc.gnu.org ebotcazou@gcc.gnu.org
Mon Apr 12 10:00:00 GMT 2010


Author: ebotcazou
Date: Mon Apr 12 10:00:13 2010
New Revision: 158219

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158219
Log:
	* expr.c (categorize_ctor_elements_1): Properly count sub-elements of
	non-constant aggregate elements.

	* gimplify.c (gimplify_init_constructor): Do not pre-evaluate if this
	is a real initialization.

Added:
    trunk/gcc/testsuite/gnat.dg/aggr13.adb
    trunk/gcc/testsuite/gnat.dg/aggr14.adb
    trunk/gcc/testsuite/gnat.dg/aggr14_pkg.adb
    trunk/gcc/testsuite/gnat.dg/aggr14_pkg.ads
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/expr.c
    trunk/gcc/gimplify.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list