diff options
author | aoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-01-16 20:44:25 +0000 |
---|---|---|
committer | aoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-01-16 20:44:25 +0000 |
commit | e106fc2e45fa1225d6d01da972e7c2437cfd0628 (patch) | |
tree | a2c68bc9813da0e337eba95b9171246386e99d6f /gcc/ipa-struct-reorg.c | |
parent | cd6342bd1ce409168e6980a1573ed0eaf8f570e6 (diff) | |
download | gcc-e106fc2e45fa1225d6d01da972e7c2437cfd0628.tar.gz |
* ebitmap.h (ebitmap_iter_init): Initialize all fields.
* ipa-struct-reorg.c (gen_struct_type): Replace known-true
test with assertion.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143443 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ipa-struct-reorg.c')
-rw-r--r-- | gcc/ipa-struct-reorg.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/ipa-struct-reorg.c b/gcc/ipa-struct-reorg.c index d1d7b1ca969..cde905e35cc 100644 --- a/gcc/ipa-struct-reorg.c +++ b/gcc/ipa-struct-reorg.c @@ -1865,8 +1865,9 @@ gen_struct_type (tree decl, tree new_str_type) wr.wrap = 0; wr.domain = NULL_TREE; } - else if (TREE_CODE (type_orig) == ARRAY_TYPE) + else { + gcc_assert (TREE_CODE (type_orig) == ARRAY_TYPE); wr.wrap = 1; wr.domain = TYPE_DOMAIN (type_orig); } |