Skip to content
Snippets Groups Projects
  1. Sep 23, 2005
    • Frank Ch. Eigler's avatar
      pass58-frag.cxx: New test for heisenbug 19319. · 337dc8ca
      Frank Ch. Eigler authored
      2005-09-23  Frank Ch. Eigler  <fche@elastic.org>
      
      	* testsuite/libmudflap.c++/pass58-frag.cxx: New test for heisenbug 19319.
      
      From-SVN: r104587
      337dc8ca
    • Tom Tromey's avatar
      enable.m4: New file. · e1e73e8d
      Tom Tromey authored
      config:
      	* enable.m4: New file.
      	* tls.m4: New file.
      libmudflap:
      	* aclocal.m4, configure: Rebuilt.
      	* configure.ac: Use GCC_CHECK_TLS.
      	* acinclude.m4 (LIBMUDFLAP_CHECK_TLS, LIBMUDFLAP_ENABLE): Moved
      	to ../config.
      
      From-SVN: r104571
      e1e73e8d
  2. Aug 23, 2005
  3. Aug 18, 2005
    • James E Wilson's avatar
      Fix FreeBSD failure with recursive malloc call. · 2483ad58
      James E Wilson authored
      * 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
      2483ad58
  4. Aug 17, 2005
  5. Aug 15, 2005
  6. Aug 14, 2005
    • Ulrich Weigand's avatar
      mf-runtime.c (__mf_state_1): Initialize to reentrant. · 22f99b82
      Ulrich Weigand authored
      	* 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
      22f99b82
  7. Jul 17, 2005
    • Richard Henderson's avatar
      gcc.c (MFWRAP_SPEC): Don't wrap pthread_join or pthread_exit. · 7544a87f
      Richard Henderson authored
              * 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
      7544a87f
  8. Jun 19, 2005
  9. Jun 15, 2005
  10. Jun 14, 2005
  11. May 10, 2005
  12. Apr 13, 2005
  13. Apr 12, 2005
    • Frank Ch. Eigler's avatar
      re PR other/19266 ([mudflap] ICE when compiling with -fmudflap -O) · a08a479f
      Frank Ch. Eigler authored
      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
      a08a479f
  14. Apr 07, 2005
  15. Apr 04, 2005
  16. Mar 22, 2005
    • Mike Stump's avatar
      mf-heuristics.c: Fix whitespace at end of line. · fb925a51
      Mike Stump authored
              * mf-heuristics.c: Fix whitespace at end of line.
              * mf-hooks1.c: Likewise.
              * mf-hooks2.c: Likewise.
              * mf-hooks3.c: Likewise.
              * mf-impl.h: Likewise.
              * mf-runtime.c: Likewise.
              * mf-runtime.h: Likewise.
      
      From-SVN: r96850
      fb925a51
  17. Mar 21, 2005
    • Zack Weinberg's avatar
      configure.ac: Do not invoke TL_AC_GCC_VERSION. · fd0811ef
      Zack Weinberg authored
      	* configure.ac: Do not invoke TL_AC_GCC_VERSION.
      	In all substitutions, expand gcc_version in Makefile.
      	* aclocal.m4, configure: Regenerate.
      	* Makefile.am: Set gcc_version.
      	* Makefile.in, testsuite/Makefile.in: Regenerate.
      
      From-SVN: r96817
      fd0811ef
  18. Mar 17, 2005
  19. Feb 13, 2005
  20. Jan 05, 2005
  21. Jan 02, 2005
    • Greg McGary's avatar
      mf-impl.h (uintptr_t): Get typedef via stdint.h or define explicitly. · 1330529e
      Greg McGary authored
      	* 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
      1330529e
  22. Dec 09, 2004
  23. Dec 02, 2004
  24. Nov 30, 2004
    • Kelley Cook's avatar
      Makefile.am: Define ACLOCAL_AMFLAGS. · 68c8f6ab
      Kelley Cook authored
      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
      68c8f6ab
  25. Nov 25, 2004
    • Kelley Cook's avatar
      Makefile.am: Revert previous. · b269c22b
      Kelley Cook authored
      2004-11-24  Kelley Cook  <kcook@gcc.gnu.org>
      
      	* Makefile.am: Revert previous.
      	* acinclude.m4: Restore.
      	* aclocal.m4, configure, Makefile.in: Regenerate.
      	* testsuite/Makefile.in: Likewise.
      
      From-SVN: r91292
      b269c22b
  26. Nov 24, 2004
    • Kelley Cook's avatar
      Makefile.am: Define ACLOCAL_AMFLAGS. · b7392506
      Kelley Cook authored
      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
      b7392506
    • John David Anglin's avatar
      target-libpath.exp: New file defining set_ld_library_path_env_vars and... · 1df8e834
      John David Anglin authored
      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
      1df8e834
    • Kelley Cook's avatar
      Makefile.in, [...]: Regenerate with automake 1.9.3. · 4e55a162
      Kelley Cook authored
      2004-11-23  Kelley Cook  <kcook@gcc.gnu.org>
      
      	* Makefile.in, configure, aclocal.m4: Regenerate with automake 1.9.3.
      	* testsuite/Makefile.in: Likewise.
      
      From-SVN: r91125
      4e55a162
  27. Nov 01, 2004
  28. Oct 28, 2004
    • Frank Ch. Eigler's avatar
      fail35-,pass53-,pass54-frag.c: New tests. · 306ae32b
      Frank Ch. Eigler authored
      2004-10-28  Frank Ch. Eigler  <fche@redhat.com>
      
      	* testsuite/libmudflap.c/fail35-,pass53-,pass54-frag.c: New tests.
      	* testsuite/libmudflap.c/pass35-frag.c: Correct embedded warning
      	message.
      
      From-SVN: r89783
      306ae32b
  29. Oct 25, 2004
    • Eric Botcazou's avatar
      re PR other/18138 (libgcc_s.so.1 not found by 64-bit testsuite) · 1e02510f
      Eric Botcazou authored
      gcc/testsuite:
      	PR other/18138
      	* lib/g++.exp: Accept more than one multilib libgcc.
      	* lib/gcc-dg.exp: Likewise.
      	* lib/objc.exp: Likewise.
      	* lib/treelang.exp: Likewise.
      	* lib/gfortran.exp: Likewise.
      
      libffi:
      	PR other/18138
      	* testsuite/lib/libffi-dg.exp: Accept more than one multilib
      	libgcc.
      
      libjava:
      	PR other/18138
      	* testsuite/lib/libjava.exp: Accept more than one multilib
      	libgcc.
      
      libmudflap!:
      	PR other/18138
      	* testsuite/lib/libmudflap.exp: Accept more than one multilib
      	libgcc.
      
      libstdc++-v3:
      	PR other/18138
      	* testsuite/lib/libstdc++.exp: Accept more than one multilib
      	libgcc.
      
      From-SVN: r89528
      1e02510f
  30. Oct 13, 2004
    • Frank Ch. Eigler's avatar
      configure.ac: Check for more headers, functions. · ddfabf89
      Frank Ch. Eigler authored
      2004-10-12  Frank Ch. Eigler  <fche@redhat.com>
      
      	* configure.ac: Check for more headers, functions.
      	* mf-hooks2.c (mkbuffer, unmkbuffer): New helper functions for
      	tracking overridden FILE buffers.
      	(fopen, setvbuf): New/revised hook functions for buffer overriding.
      	(setbuf,setlinebuf,fdopen,freopen,fopen64,freopen64,fclose): Ditto.
      	(fflush): Accept given NULL stream (means "all streams").
      	* mf-runtime.h.in:
      	* mf-runtime.c (__mfu_check): Accept accesses that span adjacent
      	HEAP/GUESS objects.
      	(LOOKUP_CACHE_SIZE_MAX): Raise to 64K entries tentatively.
      	(__mf_adapt_cache): Use them all.
      	* testsuite/libmudflap.c/pass35-frag.c: Update warning message.
      	* testsuite/libmudflap.c++/ctors.exp: Ditto.
      	* testsuite/libmudflap.c/{pass51,pass52}-frag.c: New tests.
      	* configure, config.h.in: Regenerated.
      
      From-SVN: r88996
      ddfabf89
  31. Oct 05, 2004
    • Frank Ch. Eigler's avatar
      * thanks kcook · 73407061
      Frank Ch. Eigler authored
      2004-10-05  Frank Ch. Eigler  <fche@redhat.com>
      
      	* configure.ac: Checking for sys/socket.h once is enough.
      	* configure: Regenerated.
      
      From-SVN: r88559
      73407061
  32. Oct 04, 2004
    • Frank Ch. Eigler's avatar
      configure.ac: Look for more headers & functions. · 07c2f075
      Frank Ch. Eigler authored
      2004-10-04  Frank Ch. Eigler  <fche@redhat.com>
      
      	* configure.ac: Look for more headers & functions.
      	* mf-hooks2.c (getmntent, inet_ntoa, getproto*): New wrapper functions.
      	* mf-runtime.h.in: Add new "#pragma redefine_extname"s for them.
      	* mf-runtime.c (options): Clean up integer signedness warnings.
      	(main): Add a declaration to fix a warning.
      	* mf-hooks3.c (pthread_exit): Add not-reached exit() to wrapper.
      	* configure, config.h.in: Regenerated.
      
      From-SVN: r88517
      07c2f075
Loading