This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: copy_tree_r and STATEMENT_LIST (was Re: C++ PATCHes relating to c++/48834, c++/40975 (array new))
On 05/05/2011 07:09 AM, Jason Merrill wrote:
> No, but the rationale isn't documented. It was added by the patch
> that introduced STATEMENT_LIST,
>
> http://gcc.gnu.org/ml/gcc-patches/2003-11/msg00879.html
>
> but doesn't appear in the ChangeLog entry. I notice that in that
> patch unsave_r copied STATEMENT_LIST, but now it doesn't. rth, do you
> happen to remember why you put it there?
No, I don't recall. I suspect that I put that in there while testing
in order to determine if I needed to support copying statement lists,
and it turned out that I didn't.
r~