OK.
Jason
On Fri, Sep 21, 2012 at 7:58 AM, Dodji Seketeli wrote:
> +for (tree d = getdecls (); d; d = TREE_CHAIN (d))
> + {
> + /* There are cases where D itself is a TREE_LIST. See in
> + push_local_binding where the list of decls returned by
> + getdecls is built. */
>
Hello,
In the example of the patch, g++ fails to warn that the variable N::i
(introduced via a using declaration) is unused.
This is because as we want to emit the warning in poplevel, when we
walk the local bindings returned by getdecls, we forget that a
VAR_DECL introduced by a using declaratio