C++: Tag transparent binding contour

Gabriel Dos Reis gdr@integrable-solutions.net
Sun Sep 21 22:43:00 GMT 2003


Mark Mitchell <mark@codesourcery.com> writes:

| On Fri, 2003-09-19 at 22:29, Jason Merrill wrote:
| > On 19 Sep 2003 15:08:35 -0700, Mark Mitchell <mark@codesourcery.com> wrote:
| > 
| > > For brownie points, do not always create a SCOPE_STMT in do_pushlevel. 
| > > Just set the bit above.  Then, if nothing with a cleanup is ever seen,
| > > you will never create the SCOPE_STMTs.  This will make the compiler go
| > > faster and use less memory.
| > 
| > We also use SCOPE_STMTs (well, calling expand_{start,end}_bindings) to pass
| > the block info on to the debugging backends.  And a few other things.
| 
| Yes, true.
| 
| OK, so no brownie points.  The rest of the design should work, however,
| and eliminate the need for the extra binding level.  Gaby, are you
| planning to try to implement that?

yes. That should be a good exercise for me.  
I may need some assitance from both you at some point though. 

-- Gaby



More information about the Gcc mailing list