OSDN Git Service

* expr.c (categorize_ctor_elements_1): Properly count sub-elements of
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 12 Apr 2010 10:00:13 +0000 (10:00 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 12 Apr 2010 10:00:13 +0000 (10:00 +0000)
commit30d12889964341eed3f23cab1dbb43d122634784
tree47f2f8e659d1353465936d33a9982cdbaddb3f3b
parent0ef106fc6f745b834e9a3f93075736d6f1eeb498
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158219 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/expr.c
gcc/gimplify.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/aggr13.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/aggr14.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/aggr14_pkg.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/aggr14_pkg.ads [new file with mode: 0644]