Re: Re: [perl #39777] Large Subroutine Segfaults IMCC

2006-07-11 Thread Leopold Toetsch
On Tue, Jul 11, 2006 at 12:24:47AM -0500, Vishal Soni wrote: > Other thing I could do is re-allocate the Macro Array size when it gets > full. So it would not fail until system starts swapping :-) > > I would prefer the second option. Because it might hinder your and other > language development.

Re: Re: [perl #39777] Large Subroutine Segfaults IMCC

2006-07-10 Thread Vishal Soni
Hi Matt, I can patch up something that would spit out an error message and exit rather than Segfaulting. Right now there is no bounds check. Other thing I could do is re-allocate the Macro Array size when it gets full. So it would not fail until system starts swapping :-) I would prefer the se

Re: Re: [perl #39777] Large Subroutine Segfaults IMCC

2006-07-10 Thread Matt Diephouse
Vishal Soni <[EMAIL PROTECTED]> wrote: Hi Matt, This patch is because the number of .constant decls in IMCC is limited to 4096. This is a todo to make this dynamic. The evil code seems to have about 4200 .constant decls being generated. Here is the patch to fix it. For now I bumped up the limit

Re: [perl #39777] Large Subroutine Segfaults IMCC

2006-07-09 Thread Vishal Soni
Hi Matt, This patch is because the number of .constant decls in IMCC is limited to 4096. This is a todo to make this dynamic. The evil code seems to have about 4200 .constant decls being generated. Here is the patch to fix it. For now I bumped up the limit to 8192 and it works. But this is a TODO