From 5be1c58c4de4f21561b39fd72e9861ec087a1374 Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Fri, 16 Jan 2009 20:44:25 +0000 Subject: ebitmap.h (ebitmap_iter_init): Initialize all fields. * ebitmap.h (ebitmap_iter_init): Initialize all fields. * ipa-struct-reorg.c (gen_struct_type): Replace known-true test with assertion. From-SVN: r143443 --- gcc/ipa-struct-reorg.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gcc/ipa-struct-reorg.c') diff --git a/gcc/ipa-struct-reorg.c b/gcc/ipa-struct-reorg.c index d1d7b1c..cde905e 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); } -- cgit v1.1