Marco van de Voort schrieb:
(to Sven)

So the cycle break mechanism is going to be marking potential cycle cases
as weak.

Do you still plan to at least detect cycles for debugging purposes?

Or is the cycle detection itself already too hard?

IOW I'm wondering what will happen (and what to do) if there is a cycle in a
sufficiently complex program.

I could imagine a tool for that purpose, instead of burdening the compiler with such rarely used functionality. More diagnostics could be removed from the compiler, like the detection of unused local variables or units - if that helps to speed up compilation. Separate diagnostic tools could immediately offer means to solve the detected problems interactively, what's not the purpose of an compiler.

DoDi

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to