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]

Re: PATCH for global.c



  In message <199812112122.NAA27623@adsl-206-170-148-33.dsl.pacbell.net>
  > you write:
  >     Richard> Out of curiosity, what was max_allocno in this function?
  >     Richard> I'm wondering if continuing to use alloca is appropriate.
  > 
  > About 1100, IIRC.  I thought about this; I'm sure that using alloca is
  > *not* appropriate in most of the places we use it, but I didn't see a
  > *compelling* reason to change it here, as opposed to anywhere else.
  > 
  > I'm taking your sanity diagnosis as approval and checking in my patch.
  > Thanks!
Removing many alloca uses is also on the hit list.

We know that 8M allocations are not suitable for alloca :-)  That's where many
systems blow up.

Anything approaching a meg is (IMHO) not suitable for alloca.

jeff


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