Hello,

> Note that I didn't say "intractable", just "not trivial". I think that's the 
> case.

Most likely everybody here knows this already, but since nobody mentioned it 
yet: Deciding whether
a variable must be allocated on the heap or can be allocated on the stack is a 
problem that
occurs quite often in VM-based languages (e.g. Java). The term to google for is 
Escape Analysis:
<http://en.wikipedia.org/wiki/Escape_analysis>.


Jonathan


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to