aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.c
diff options
context:
space:
mode:
authorMichael Matz <matz@suse.de>2012-04-19 13:29:29 +0000
committerMichael Matz <matz@suse.de>2012-04-19 13:29:29 +0000
commite77812d169ba4df33e9455067cc323baf24492c8 (patch)
tree8f69ea3822d53cbb5ee137c295bc3fb2dec89d98 /gcc/tree.c
parent03b3ab2baca4b9d16f2bec452b09dec2849ac89c (diff)
PR middle-end/52977
* tree.h (VECTOR_CST_NELTS): Use part number of types again. (struct tree_vector): Adjust GTY length. * tree.c (make_vector_stat): Don't set VECTOR_CST_NELTS. * gengtype.c (struct walk_type_data): Add in_record_p and loopcounter members. (walk_type, <TYPE_POINTER, TYPE_ARRAY>): Handle case where our caller emitted the length calulation already. (walk_type, <TYPE_UNION, TYPE_STRUCT>): Emit length calculations git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@186593 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree.c')
-rw-r--r--gcc/tree.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/tree.c b/gcc/tree.c
index 7a71c245480..b0d52b2e0e9 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -1329,7 +1329,6 @@ make_vector_stat (unsigned len MEM_STAT_DECL)
TREE_SET_CODE (t, VECTOR_CST);
TREE_CONSTANT (t) = 1;
- VECTOR_CST_NELTS (t) = len;
return t;
}