English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
Warning on not-tail recursive functions
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-08-04 (10:58)
From: tmp123@m...
Subject: Warning on not-tail recursive functions
Hello,

Please, knows someone if "ocamlopt" can print a warning message when a 
recursive function is not tail recursive, and code with the "jmp" 
optimization has not been generated?.

In this case, probably I can correct the function implementation to 
write a better one. Without it, I must always look at the generated 
assembler to check it.

Thanks a lot.