On 05/04/2011 04:12 AM, Eric Botcazou wrote:
Well, let's look at the users of copy_tree_r.

cp/tree.c (bot_manip): The case I want to fix.

Then I'd put the fix there.  The old behaviour of copy_tree_r is IMO the most
sensible one and its callers should cope, as almost all already do it seems.

Well, I disagree. STATEMENT_LISTs are just another kind of thing you encounter in an expression; if a caller wants special handling, they can arrange for it.

This is how things used to work before, but it broke when the tree-ssa merge switched from using TREE_CHAIN on statements to a separate STATEMENT_LIST.

Jason

Reply via email to