Re: GPC compiler crash

Thomas Schneider <[email protected]>
Newsgroups gmane.comp.compilers.gpc
Message-ID <[email protected]>
Garth:

> Just to clarify the differences a bit.

Thanks for the explanation.  I knew about val/var but wasn't so clear
about the heap/stack allocation.  I didn't know that global varibles
go on the heap but did know that calling a procedure caused allocation
of locals to the stack.

So I was making a huge allocation on the stack.  That's fixed now by
using a global.  I'm somewhat unclear why the compiler crashed though.
I would have thought that if it ran out of stack it would give a
warning.  But the odd thing is that when the program is being compiled
it's not even using the stack yet of course ...

Tom

  Thomas D. Schneider, Ph.D.
  Senior Investigator
  National Institutes of Health
  National Cancer Institute
  Frederick National Laboratory for Cancer Research
  Gene Regulation and Chromosome Biology Laboratory
  Molecular Information Theory Group
  Frederick, Maryland  21702-1201
  [email protected]
  http://alum.mit.edu/www/toms

_______________________________________________
Gpc mailing list
[email protected]
https://www.g-n-u.de/mailman/listinfo/gpc
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.