]> gcc.gnu.org Git - gcc.git/commit
expr.c (categorize_ctor_elements_1): Properly count sub-elements of non-constant...
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 12 Apr 2010 10:00:13 +0000 (10:00 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 12 Apr 2010 10:00:13 +0000 (10:00 +0000)
commit675c873bfe795ff94288f31c2735254443d3754b
tree47f2f8e659d1353465936d33a9982cdbaddb3f3b
parent3fc20697523443ed885f701923160ea22a19be62
expr.c (categorize_ctor_elements_1): Properly count sub-elements of non-constant aggregate elements.

* 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.

From-SVN: r158219
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]
This page took 0.061328 seconds and 5 git commands to generate.