C++: Tag transparent binding contour

Jason Merrill jason@redhat.com
Fri Sep 19 20:54:00 GMT 2003


On 19 Sep 2003 12:58:16 -0700, Mark Mitchell <mark@codesourcery.com> wrote:

> On Fri, 2003-09-19 at 12:40, Jason Merrill wrote:

>> A "goto label" from within the scope of a2 must destroy a2 but not a1.
>
> OK, good, that's what I was forgetting.
>
> It seems like this could be handled during the creation of RTL, without
> actually affecting the C++ binding_level/scope structures.  In other
> words, create the SCOPE_STMTs, but not the binding levels.

I suppose it could, but then you'd need to introduce some other data
structure to track when this is needed.  I don't think it's worth the
bother, but I wouldn't reject a patch to that effect.

Jason



More information about the Gcc mailing list