summaryrefslogtreecommitdiff
path: root/libmudflap/mf-hooks3.c
diff options
context:
space:
mode:
authorfche <fche@138bc75d-0d04-0410-961f-82ee72b054a4>2004-06-24 21:12:18 +0000
committerfche <fche@138bc75d-0d04-0410-961f-82ee72b054a4>2004-06-24 21:12:18 +0000
commit9a1a84ca103b211b3b5c02d9618752a2a57d6201 (patch)
treeb11f74e9117eab25751541c23cf9a481cd239e29 /libmudflap/mf-hooks3.c
parenta95bd78053d406b8805a71771e8e686f7ebdeef4 (diff)
downloadgcc-9a1a84ca103b211b3b5c02d9618752a2a57d6201.tar.gz
2004-06-24 Frank Ch. Eigler <fche@redhat.com>
Adopt splay trees for object database. * Makefile.am: Copy splay-tree.* from libiberty. * Makefile.in, testsuite/Makefile.in: Regenerated. * mf-runtime.h.in (__mf_unregister): Add third parameter (type). * mf-hooks[123].c (*): Add new third parameter to mf_unregister. * mf-impl.h (BEGIN_PROTECT): Remove some trace text. * mf-runtime.c: Rewrite code dealing with object database to use libiberty splay trees. Remove tree liveness aging option. * testsuite/libmudflap.c/fail18-frag.c: Add volatile flag. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83611 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libmudflap/mf-hooks3.c')
-rw-r--r--libmudflap/mf-hooks3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmudflap/mf-hooks3.c b/libmudflap/mf-hooks3.c
index 6a14cb2adfa..00fb3728e36 100644
--- a/libmudflap/mf-hooks3.c
+++ b/libmudflap/mf-hooks3.c
@@ -273,7 +273,7 @@ __mf_pthread_cleanup (void *arg)
/* XXX: This unregistration is not safe on platforms where distinct
threads share errno (or at least its virtual address). */
if (pi->thread_errno != NULL)
- __mf_unregister (pi->thread_errno, sizeof (int));
+ __mf_unregister (pi->thread_errno, sizeof (int), __MF_TYPE_GUESS);
/* XXX: Only detached threads should designate themselves as dead
here. Non-detached threads are marked dead after their