re PR c++/40975 (ICE in copy_tree_r on array new)
authorJason Merrill <jason@redhat.com>
Thu, 5 May 2011 20:50:57 +0000 (16:50 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 5 May 2011 20:50:57 +0000 (16:50 -0400)
commitdeb5046baa31e38ba18bf9bab2e0a5fa3cef6719
tree4c4f66836eb68f998569bb9974060b8fbfd2a0ac
parent31e292c7a319a9a8bc449cf8514ed45951bb706e
re PR c++/40975 (ICE in copy_tree_r on array new)

PR c++/40975
* tree-inline.c (copy_tree_r): Use copy_statement_list.
(copy_statement_list): Don't recurse.
* stor-layout.c (copy_self_referential_tree_r): Don't allow
STATEMENT_LIST.

From-SVN: r173451
gcc/ChangeLog
gcc/stor-layout.c
gcc/tree-inline.c