This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: C++: Tag transparent binding contour


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]