C++ Exception handling

Graham Shaw gdshaw at sagitta.demon.co.uk
Tue Mar 2 12:29:17 PST 2004


In article <4044E72E.8040909 at dsvr.net>,
   Nick Burrett <nick at dsvr.net> wrote:

> I'm a little confused.  The code in the copy of gccsdk-2.95 in my CVS 
> tree is shown below.  The file hasn't been changed since 12 Sep 2001.

>   /* XXX, FIXME: The stack space allocated this way is too long lived,
>      but there is no allocation routine that allocates at the level of
>      the last binding contour.  */
>   arg = assign_stack_local (BLKmode,
> 			    GET_MODE_SIZE (Pmode)*(size+1),
> 			    0);

> Where 'size+2' comes from, I really don't know.

Sorry, the patch was backwards.

(Currently, GCC allocates one word less than it needs to.)

-- 
Graham Shaw (http://www.sagitta.demon.co.uk/graham/)
The RISC OS Packaging Project (http://www.riscpkg.org/)
The RISC OS Toolkit (http://rtk.riscos.org.uk/)




More information about the gcc mailing list