+ Determine early (before pass 2) whether managed parameters/locals/temps will cause the procedure to reference RTTI labels and, therefore, need GOT.
+ trttinode also sets pi_needs_got flag.

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@24767 3ad0048d-3df7-0310-abae-a5850022a9f2
* Fix some memory leaks (not all: see  AppendDeleteCancelUpd)

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@24768 3ad0048d-3df7-0310-abae-a5850022a9f2
* Fix some memory leaks (not all: see  AppendDeleteCancelUpd)

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@24769 3ad0048d-3df7-0310-abae-a5850022a9f2
* Fix memory leaks in tests

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@24770 3ad0048d-3df7-0310-abae-a5850022a9f2
* Script to test for memory leaks

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@24771 3ad0048d-3df7-0310-abae-a5850022a9f2