C++ PATCHes relating to c++/48834, c++/40975 (array new)

Jason Merrill jason@redhat.com
Tue May 3 15:27:00 GMT 2011


On 05/03/2011 03:00 AM, Eric Botcazou wrote:
>> How is it used in Ada?
>
> The front-end doesn't use it directly, it's only used through the gimplifier
> by the unsharing phase (unshare_body).  We also have statement expressions.

In that case you wouldn't be affected by this patch; unshare_body uses 
mostly_copy_tree_r, which has its own special case for STATEMENT_LIST.

Jason



More information about the Gcc-patches mailing list