unc_memops.ads: Comment out the alloc/free/realloc exports and document how these can be exercised.

2007-12-07  Olivier Hainque  <hainque@adacore.com>

	testsuite/
	* gnat.dg/unc_memops.ads: Comment out the alloc/free/realloc
	exports and document how these can be exercised.

From-SVN: r130678
This commit is contained in:
Olivier Hainque 2007-12-07 15:33:48 +00:00 committed by Olivier Hainque
parent 9cc11b58d2
commit 458440a9d0
2 changed files with 14 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2007-12-07 Olivier Hainque <hainque@adacore.com>
* gnat.dg/unc_memops.ads: Comment out the alloc/free/realloc
exports and document how these can be exercised.
2007-12-07 Samuel Tardieu <sam@rfc1149.net>
PR ada/15805

View File

@ -17,8 +17,14 @@ package Unc_Memops is
private
pragma Export (C, Alloc, "__gnat_malloc");
pragma Export (C, Free, "__gnat_free");
pragma Export (C, Realloc, "__gnat_realloc");
-- Uncomment the exports below to really exercise the alternate versions.
-- This only works when using an installed version of the tools which
-- grabs the runtime library objects from an archive, hence doesn't force
-- the inclusion of s-memory.o.
-- pragma Export (C, Alloc, "__gnat_malloc");
-- pragma Export (C, Free, "__gnat_free");
-- pragma Export (C, Realloc, "__gnat_realloc");
end;