Hi, > Your patch only looks at immediate subexpressions; I believe what the ABI > means is any subexpression, which is why I think something involving > walk_tree might be the way to go.
Ok, I'm going to open code something using walk_tree and quite similar to for_each_template_parm but checking also TREE_TYPE, let's if it's enough at least to avoid the regressions. > Thanks, Paolo