re PR c/52977 (internal compiler error: Segmentation fault with `-x c-header' or...
authorRichard Guenther <rguenther@suse.de>
Mon, 16 Apr 2012 13:21:30 +0000 (13:21 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 16 Apr 2012 13:21:30 +0000 (13:21 +0000)
commitac9a074c7249d0a042b827696caa3f694befaee5
tree067d3bace4ca7e9ad5771e700d5b82b337858715
parentfba621209f542447474d7e1b5d33ba21df14f04d
re PR c/52977 (internal compiler error: Segmentation fault with `-x c-header' or `-x cxx-header' option)

2012-04-16  Richard Guenther  <rguenther@suse.de>

PR middle-end/52977
* tree.h (VECTOR_CST_NELTS): Adjust.
(struct tree_vector): Add explicit length field.
(make_vector_stat): Declare.
(make_vector): Define.
* tree.c (make_vector_stat): New function.
(build_vector_stat): Use it.
* tree-streamer-in.c (streamer_alloc_tree): Likewise.

From-SVN: r186494
gcc/ChangeLog
gcc/tree-streamer-in.c
gcc/tree.c
gcc/tree.h