diff options
| author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-08-23 07:28:26 +0000 |
|---|---|---|
| committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-08-23 07:28:26 +0000 |
| commit | b7f95d090cb437c047bae4f944dab45bf150f652 (patch) | |
| tree | f384afa06e592a553c6af6af04e511b95114c8d8 /libjava/java/lang | |
| parent | 3712d785e9befda32bac13494037f9b21d337421 (diff) | |
| download | ppe42-gcc-b7f95d090cb437c047bae4f944dab45bf150f652.tar.gz ppe42-gcc-b7f95d090cb437c047bae4f944dab45bf150f652.zip | |
PR tree-optimization/22043
* tree.h (count_type_elements): Add ALLOW_FLEXARR argument.
* expr.c (count_type_elements): Add ALLOW_FLEXARR argument.
If ALLOW_FLEXARR, handle types ending with flexible array member.
Pass false as second argument to recursive count_type_elements calls.
(categorize_ctor_elements_1, mostly_zeros_p): Pass false as second
argument to count_type_elements call.
* tree-sra.c (decide_block_copy): Likewise.
* gimplify.c (gimplify_init_constructor): If num_type_elements < 0
for a constant-sized object, set cleared as well. Pass true as
second argument to count_type_elements call.
* gcc.c-torture/execute/20050613-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@103389 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java/lang')
0 files changed, 0 insertions, 0 deletions

