]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR libmudflap/28578 (A most simple multithreaded program (practically any multithr...
authorFrank Ch. Eigler <fche@redhat.com>
Fri, 10 Nov 2006 18:42:28 +0000 (18:42 +0000)
committerFrank Ch. Eigler <fche@gcc.gnu.org>
Fri, 10 Nov 2006 18:42:28 +0000 (18:42 +0000)
commitf70d742fc89c922a9ad5508753027eb17827369c
treef1e9d593de06af753a78e3763ac0ae92abff57ec
parenta6b03a63d60ea2c720d2351812dee479b9137183
re PR libmudflap/28578 (A most simple multithreaded program (practically any multithreaded one) causes mudflap violation)

2006-11-10  Frank Ch. Eigler  <fche@redhat.com>

PR libmudflap/28578
* mf-hooks1.c (__mf_0fn_malloc): Make the bootstrap buffers
static but not function scope static.
(free): Skip deallocation attempts for objects placed into
bootstrap buffers.
* testsuite/libmudflap.cth/pass59-frag.c: New test.

M    libmudflap/mf-hooks1.c
M    libmudflap/ChangeLog
A    libmudflap/testsuite/libmudflap.cth/pass59-frag.c

From-SVN: r118662
libmudflap/ChangeLog
libmudflap/mf-hooks1.c
libmudflap/testsuite/libmudflap.cth/pass59-frag.c [new file with mode: 0644]