[C++ PATCH]: Shrink struct lang_decl

Joseph S. Myers jsm@polyomino.org.uk
Thu Sep 30 17:02:00 GMT 2004


On Thu, 30 Sep 2004, Nathan Sidwell wrote:

> You'll notice that this limits the size of objects that can be thunked
> to 262144 bytes, that is the largest object the standard says a system
> need support.  Mark, Jason, if you think this should be made larger
> let me know.  There are still some spare bits, but I do have plans
> for them :)

Where's the check that the value fits in the reduced field and the 
associated call to sorry () (as for example the C front end would give if 
you try to use more than 2^28 nested scopes and have enough memory to get 
that far)?

-- 
Joseph S. Myers               http://www.srcf.ucam.org/~jsm28/gcc/
  http://www.srcf.ucam.org/~jsm28/gcc/#c90status - status of C90 for GCC 4.0
    jsm@polyomino.org.uk (personal mail)
    jsm28@gcc.gnu.org (Bugzilla assignments and CCs)



More information about the Gcc-patches mailing list