This is the mail archive of the gcc-patches@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++ PATCH]: Shrink struct lang_decl


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)


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