Re: Minimum Stack Size

Kevan Hashemi <[email protected]>
Newsgroups gmane.comp.compilers.gpc
Organization Brandeis University
Message-ID <[email protected]>
Adriaan:

 > In other words, stack usage is not excessive.

Thank you for your attention. Using the same test program you tried, I 
get the same result on MacOS, except I get a message

"warning no -stack_addr specified using the default addr: 0xc0000000".

which appears to be harmless.

 > Please post a complete test program with instructions to reproduce the
 > problem. Doing so will also help you solve problem yourself.

That's good advice. I find that I cannot reproduce the problem in my 
code using a recursive test procedure. I conclude that I have been wrong 
all along in my assumption that deep recursion was causing my code to 
crash. I will look for another cause.


Jay:

 > You can use "gdb" to look at the first few instructions

That sounds useful. Thank you for the test you ran on Windows.

Yours, Kevan




-- 
Kevan Hashemi, Electrical Engineer
Physics Department, Brandeis University
http://alignment.hep.brandeis.edu/

_______________________________________________
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.