This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [gomp/rfc] partial reorg of variable remapping
On Sun, Sep 25, 2005 at 07:58:44AM -0400, Jakub Jelinek wrote:
> pushscope/pushdecl/popscope on the C/C++ side will not be enough though
> IMHO, for default(none) you need to verify no variables except those on
> the lists are mentioned anywhere.
Ah, right, I'd forgotten about that. For C++ any changes to the
name lookup rules would be so nasty as to not bear considering.
So at minimum one walk would be needed somewhere. But it could
either be in the middle-end or the front-ends. In the front ends
would be more consistent with them issuing all error messages.
r~