aboutsummaryrefslogtreecommitdiff
path: root/libmudflap/testsuite/libmudflap.cth
AgeCommit message (Collapse)AuthorFilesLines
2011-07-01re PR libmudflap/49549 (Use of --noinhibit-exec is unportable)Rainer Orth1-4/+9
libmudflap: PR libmudflap/49549 * testsuite/lib/libmudflap.exp (load_gcc_lib): Load target-supports.exp. * testsuite/libmudflap.cth/cthfrags.exp: Only pass --noinhibit-exec to GNU ld. gcc: PR libmudflap/49549 * doc/sourcebuild.texi (Effective-Target Keywords): Document gld. gcc/testsuite: PR libmudflap/49549 * lib/target-supports.exp (check_effective_target_gld): New proc. From-SVN: r175749
2010-10-31re PR testsuite/20003 (libmudflap.cth timeouts too short)Jason Merrill1-1/+1
PR testsuite/20003 * testsuite/libmudflap.cth/pass40-frag.c: Increase timeout to 30. From-SVN: r166121
2007-03-14pass59-frag.c (main): Fix casting of arg.Uros Bizjak1-2/+2
* testsuite/libmudflap.cth/pass59-frag.c (main): Fix casting of arg. From-SVN: r122911
2006-11-10re PR libmudflap/28578 (A most simple multithreaded program (practically any ↵Frank Ch. Eigler1-0/+39
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
2005-11-22libmudflap.exp (libmudflap-init): Remove -static from MUDFLAP_FLAGS if ↵Janis Johnson1-1/+3
static library not supported. * testsuite/lib/libmudflap.exp (libmudflap-init): Remove -static from MUDFLAP_FLAGS if static library not supported. * testsuite/libmudflap.c/cfrags.exp (MUDFLAP_FLAGS): new. * testsuite/libmudflap.c/externs.exp: Ditto. * testsuite/libmudflap.c++/ctors.exp: Ditto. * testsuite/libmudflap.c++/c++frags.exp: Ditto. * testsuite/libmudflap.cth/cthfrags.exp: Ditto. From-SVN: r107371
2005-08-14mf-runtime.c (__mf_state_1): Initialize to reentrant.Ulrich Weigand2-2/+2
* mf-runtime.c (__mf_state_1): Initialize to reentrant. (__mf_init): Set thread state active. * mf-hooks3.c (__mf_pthread_spawner): Always set thread state active. (pthread_create wrapper): Always use thread spawner. * testsuite/libmudflap.cth/pass37-frag.c: Increase timeout. * testsuite/libmudflap.cth/pass39-frag.c: Likewise. From-SVN: r103084
2004-06-04Portability improvements, e.g., libmudflap/15293.Frank Ch. Eigler1-1/+1
2004-06-04 Frank Ch. Eigler <fche@redhat.com> Portability improvements, e.g., libmudflap/15293. * configure.in: Look for glibc extension functions. Look for support of -f{function,data}-sections. Look for more headers. Create testsuite/mfconfig.exp. Correct more "test x.." thinkos. * Makefile.am: Use $(SECTION_FLAGS). Collapse piecemeal-compiled mf-hooks* into usual single object per source. * mf-hooks*.c: Remove all #if WRAP_foo conditionals. * mf-hooks2.c: #include a bunch more system headers. Define strnlen if system doesn't provide one. * mf-hooks3.c (struct pthread_info): Add stack_*_alloc fields. (pthread_create): Use it to properly GC dead thread stacks. * mf-runtime.c (__mf_violation): Correct snprintf type warning. * testsuite/Makefile.am: Stop generating site.exp. * testsuite/mfconfig.exp.in: New file. * testsuite/config/default.exp: Load new mfconfig.exp. * testsuite/lib/libmudflap.exp (libmudflap-init): Add extra libraries. (prune_gcc_output): Add glibc static linking warnings. * testsuite/libmudflap.*/*frags.exp: Enumerate needed -lmudflap* libs. * testsuite/libmudflap.c/pass46-frag.c: Ditto. * configure, Makefile, aclocal.m4, config.h.in, testsuite/Makefile.in: Regenerated with autoconf 2.57 and automake 1.7. From-SVN: r82632
2004-05-17libmudflap.exp (libmudflap-init): For C++ test cases only...Frank Ch. Eigler1-1/+1
2004-05-17 Frank Ch. Eigler <fche@redhat.com> * lib/libmudflap.exp (libmudflap-init): For C++ test cases only, import some build settings from libstdc++-v3 testsuite_flags. * .../cfrags.exp, .../c++frags.exp, .../cthfrags.exp: Corresponding changes to pass test language. * mf-runtime.c (__mfu_check): Poison the cache with antidote for quicker mode-nop handling. From-SVN: r81944
2004-05-13Merge tree-ssa-20020619-branch into mainline.Diego Novillo4-0/+197
From-SVN: r81764