summaryrefslogtreecommitdiff
path: root/libmudflap/testsuite
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/testsuite
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/testsuite')
-rw-r--r--libmudflap/testsuite/Makefile.in2
-rw-r--r--libmudflap/testsuite/libmudflap.c/fail18-frag.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libmudflap/testsuite/Makefile.in b/libmudflap/testsuite/Makefile.in
index cf5f8ca2fe1..a30769a73df 100644
--- a/libmudflap/testsuite/Makefile.in
+++ b/libmudflap/testsuite/Makefile.in
@@ -41,7 +41,7 @@ DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
$(srcdir)/mfconfig.exp.in
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
- $(top_srcdir)/configure.in
+ $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
diff --git a/libmudflap/testsuite/libmudflap.c/fail18-frag.c b/libmudflap/testsuite/libmudflap.c/fail18-frag.c
index dde150a8457..a7b62ddb7c7 100644
--- a/libmudflap/testsuite/libmudflap.c/fail18-frag.c
+++ b/libmudflap/testsuite/libmudflap.c/fail18-frag.c
@@ -6,7 +6,7 @@ int main ()
/* One cannot redeclare __mf_lc_mask in proper C from instrumented
code, because of the way the instrumentation code emits its decls. */
extern unsigned foo __asm__ ("__mf_lc_mask");
-unsigned *bar = &foo;
+unsigned * volatile bar = &foo;
*bar = 4;
return 0;
}