1. 22 Nov, 2005 1 commit
    • libmudflap.exp (libmudflap-init): Remove -static from MUDFLAP_FLAGS if static… · 68d67107
      libmudflap.exp (libmudflap-init): Remove -static from MUDFLAP_FLAGS if 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
      Janis Johnson committed
  2. 31 Oct, 2005 1 commit
  3. 04 Oct, 2005 1 commit
  4. 30 Sep, 2005 3 commits
  5. 23 Sep, 2005 3 commits
  6. 23 Aug, 2005 1 commit
  7. 18 Aug, 2005 1 commit
    • Fix FreeBSD failure with recursive malloc call. · 2483ad58
      * mf-hooks1.c (malloc, calloc, realloc, free,
      __mf_wrap_alloca_indirect): Call BEGIN_MALLOC_PROTECT before calling
      the real routines, and END_MALLOC_PROTECT afterwards.
      * mf-impl.h (enum __mf_state_enum): Expand comment.  Add in_malloc.
      (BEGIN_PROTECT): Handle in_malloc state.
      (BEGIN_MALLOC_PROTECT, END_MALLOC_PROTECT): New.
      * testsuite/libmudflap.c/hook2-allocstuff.c: New.
      
      From-SVN: r103256
      James E Wilson committed
  8. 17 Aug, 2005 1 commit
  9. 15 Aug, 2005 2 commits
  10. 14 Aug, 2005 1 commit
    • mf-runtime.c (__mf_state_1): Initialize to reentrant. · 22f99b82
      	* 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
      Ulrich Weigand committed
  11. 17 Jul, 2005 1 commit
    • gcc.c (MFWRAP_SPEC): Don't wrap pthread_join or pthread_exit. · 7544a87f
              * gcc.c (MFWRAP_SPEC): Don't wrap pthread_join or pthread_exit.
      
              * acinclude.m4: New file.
              * configure.ac: Invoke LIBMUDFLAP_CHECK_TLS.
              * configure, config.h.in, Makefile.in, testsuite/Makefile.in: Rebuild.
              * mf-hooks1.c (__mf_0fn_malloc): Move body from ...
              (__mf_0fn_calloc): ... here.
              * mf-hooks3.c (struct pthread_info): Remove.
              (__mf_pthread_info, __mf_pthread_info_idx): Remove.
              (LIBMUDFLAPTH_THREADS_MAX): Set to 1021.
              (struct mf_thread_data): New.
              (mf_thread_data, mf_thread_data_lock): New.
              (__mf_allocate_blank_threadinfo): Remove.
              (__mf_find_threadinfo): Rewrite and simplify.  Only use if TLS is
              not available.
              (__mf_state_perthread): Remove.
              (__mf_get_state, __mf_set_state): New.
              (__mf_pthread_cleanup): Use &errno, rather than saved pointer.
              Update mf_thread_data killing procedure.
              (__mf_pthread_spawner): Similarly.
              (__mf_0fn_pthread_create): Only use wrapper if necessary.  Remove
              code to allocate thread stack space.
              (__mf_0fn_pthread_join, pthread_join): Remove.
              (__mf_0fn_pthread_exit, pthread_exit): Remove.
              * mf-impl.h (dyn_pthread_join, dyn_pthread_exit): Remove.
              (__mf_state_1): Rename from __mf_state; use TLS when available.
              (__mf_get_state, __mf_set_state): New.  Update all users.
              * mf-runtime.c (begin_recursion_protect1): New.
              (BEGIN_RECURSION_PROTECT): Use it.
              (__mf_state_1): Rename from __mf_state; use TLS when available.
              (threads_active_p): Remove.
              (__mf_usage): Compute it directly.
      
      From-SVN: r102108
      Richard Henderson committed
  12. 19 Jun, 2005 1 commit
  13. 15 Jun, 2005 1 commit
  14. 14 Jun, 2005 4 commits
  15. 10 May, 2005 1 commit
  16. 13 Apr, 2005 1 commit
  17. 12 Apr, 2005 1 commit
    • re PR other/19266 ([mudflap] ICE when compiling with -fmudflap -O) · a08a479f
      2005-04-12  Frank Ch. Eigler  <fche@redhat.com>
      
      	PR mudflap/19266
      	From Richard Henderson <rth@redhat.com>:
      	* tree-mudflap.c (mf_build_check_statement_for): Correct block
      	splitting logic.
      
      2005-04-12  Frank Ch. Eigler  <fche@redhat.com>
      
      	PR mudflap/19266
      	* testsuite/libmudflap.c++/c++frags.exp: Also test -O permutation.
      	* testsuite/libmudflap.c++/pass57-frag.cxx: New test.
      
      From-SVN: r98028
      Frank Ch. Eigler committed
  18. 07 Apr, 2005 1 commit
  19. 04 Apr, 2005 1 commit
  20. 22 Mar, 2005 1 commit
  21. 21 Mar, 2005 1 commit
  22. 17 Mar, 2005 1 commit
  23. 13 Feb, 2005 2 commits
  24. 05 Jan, 2005 1 commit
  25. 02 Jan, 2005 1 commit
    • mf-impl.h (uintptr_t): Get typedef via stdint.h or define explicitly. · 1330529e
      	* mf-impl.h (uintptr_t): Get typedef via stdint.h or define explicitly.
      	* mf-runtime.h: New file, replaces mf-runtime.h.in.
      	* configure.ac (AC_CONFIG_FILES): mf-runtime.h is no longer generated.
      	* Makefile.in: Ditto.
      	* testsuite/lib/libmudflap.exp: Add -I${srcdir}/.. to get mf-runtime.h
      	* testsuite/libmudflap.c/pass32-frag.c: s/uintptr_t/__mf_uintptr_t/
      	* testsuite/libmudflap.c/fail36-frag.c: New test.
      	* testsuite/libmudflap.c/fail37-frag.c: New test.
      	* testsuite/libmudflap.c/fail38-frag.c: New test.
      
      From-SVN: r92815
      Greg McGary committed
  26. 09 Dec, 2004 1 commit
  27. 02 Dec, 2004 1 commit
  28. 30 Nov, 2004 1 commit
    • Makefile.am: Define ACLOCAL_AMFLAGS. · 68c8f6ab
      2004-11-29  Kelley Cook  <kcook@gcc.gnu.org>
      
      	* Makefile.am: Define ACLOCAL_AMFLAGS.
      	* acinclude.m4: Remove.
      	* stamp-h.in: Remove superfluous stamp file.
      	* aclocal.m4, configure, Makefile.in: Regenerate.
      	* testsuite/Makefile.in: Likewise.
      
      From-SVN: r91499
      Kelley Cook committed
  29. 25 Nov, 2004 1 commit
  30. 24 Nov, 2004 2 commits
    • Makefile.am: Define ACLOCAL_AMFLAGS. · b7392506
      2004-11-24  Kelley Cook  <kcook@gcc.gnu.org>
      
      	* Makefile.am: Define ACLOCAL_AMFLAGS.
      	* acinclude.m4: Remove.
      	* aclocal.m4, configure, Makefile.in: Regenerate.
      	* testsuite/Makefile.in: Likewise.
      
      From-SVN: r91209
      Kelley Cook committed
    • target-libpath.exp: New file defining set_ld_library_path_env_vars and… · 1df8e834
      target-libpath.exp: New file defining set_ld_library_path_env_vars and restore_ld_library_path_env_vars.
      
      	* lib/target-libpath.exp: New file defining set_ld_library_path_env_vars
      	and restore_ld_library_path_env_vars.
      	* g++.dg/compat/compat.exp, lib/g++.exp, lib/gcc-dg.exp,
      	lib/gfortran.exp, lib/objc.exp, lib/treelang.exp: Use new procs.
      	* ada/acats/run_acats (LD_LIBRARY_PATH): Add previous LD_LIBRARY_PATH
      	to LD_LIBRARY_PATH.  Export LD_LIBRARY_PATH.
      
      	* testsuite/lib/libffi-dg.exp: Use new procs in target-libpath.exp.
      
      	* testsuite/lib/libjava.exp,
      	testsuite/libjava.jacks/jacks.exp: Use new procs in target-libpath.exp.
      
      	* testsuite/lib/libmudflap.exp: Use new procs in target-libpath.exp.
      
      	* testsuite/lib/libstdc++.exp: Use new procs in target-libpath.exp.
      
      From-SVN: r91137
      John David Anglin committed