Opened 10 years ago
Last modified 10 years ago
#3370 new defect
Add tail recursion optimization for return statements — at Initial Version
| Reported by: | Martin Sjölund | Owned by: | somebody |
|---|---|---|---|
| Priority: | high | Milestone: | Future |
| Component: | Frontend | Version: | trunk |
| Keywords: | Cc: |
Description
The following is currently not recognize by the tail recursion optimization:
function f
/// ...
algorithm
if cond then
out := f(...); // tail recursive call
return;
end if;
end f;
Note:
See TracTickets
for help on using tickets.
