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