]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c/52977 (internal compiler error: Segmentation fault with `-x c-header' or...
authorMichael Matz <matz@suse.de>
Thu, 19 Apr 2012 13:29:29 +0000 (13:29 +0000)
committerMichael Matz <matz@gcc.gnu.org>
Thu, 19 Apr 2012 13:29:29 +0000 (13:29 +0000)
commit314b662a3a636250eda24be515fb34c34140fb6a
tree8f69ea3822d53cbb5ee137c295bc3fb2dec89d98
parent7c98ec605d9c9d2bbb6d431016ebe74a73f0a522
re PR c/52977 (internal compiler error: Segmentation fault with `-x c-header' or `-x cxx-header' option)

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

From-SVN: r186593
gcc/ChangeLog
gcc/gengtype.c
gcc/tree.c
gcc/tree.h