summaryrefslogtreecommitdiff
path: root/libmudflap
Commit message (Collapse)AuthorAgeFilesLines
* 2005-08-17 Kelley Cook <kcook@gcc.gnu.org>kcook2005-08-1711-18/+22
| | | | | | | * All files: Update FSF address. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@103197 138bc75d-0d04-0410-961f-82ee72b054a4
* * mf-hooks3.c (main_seen_p): Remove.uweigand2005-08-152-19/+9
| | | | | | | (__mf_get_state): Remove attempt to recognize the main thread. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@103119 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.ac: Test for the name of the symbol used for the entrymacro2005-08-155-4/+101
| | | | | | | | | | point; define ENTRY_POINT to the result. * configure: Regenerate. * config.h.in: Regenerate. * mf-heuristics.c: Replace _start with ENTRY_POINT throughout. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@103113 138bc75d-0d04-0410-961f-82ee72b054a4
* * mf-runtime.c (__mf_state_1): Initialize to reentrant.uweigand2005-08-145-29/+24
| | | | | | | | | | | | | (__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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@103084 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.c (MFWRAP_SPEC): Don't wrap pthread_join or pthread_exit.rth2005-07-1712-832/+611
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@102108 138bc75d-0d04-0410-961f-82ee72b054a4
* * testsuite/libmudflap.c/externs-1.c (main): Add return statement.uweigand2005-06-192-0/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101184 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-06-15 Frank Ch. Eigler <fche@redhat.com>fche2005-06-153-5/+67
| | | | | | | | | Fix for uncaching bug reported by Herman ten Brugge. * mf-runtime.c (__mf_uncache_object): Search whole cache. * testsuite/libmudflap.c/fail40-frag.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100985 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-05-23 Alfred M. Szmidt <ams@gnu.org>fche2005-06-143-0/+8
| | | | | | | | | PR libmudflap/21724 * Makefile.am (AM_MAKEFLAGS): Pass includedir. * Makefile.in: Amend. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100951 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-06-14 Frank Ch. Eigler <fche@redhat.com>fche2005-06-145-1/+67
| | | | | | | | | | | | PR mudflap/21023 * tree-mudflap.c (mudflap_finish_file): Exclude non-public rather than static objects (!) from libmudflap registration. * testsuite/libmudflap.c/externs.exp, externs-{1,2}.c: New test files. * testsuite/libmudflap.c/cfrags.exp: Bypass new sources. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100950 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-06-14 Frank Ch. Eigler <fche@redhat.com>fche2005-06-143-0/+13
| | | | | | | | PR libmudflap/21094 * testsuite/libmudflap.c++/*.exp: Assert build tree g++. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100946 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-06-14 Frank Ch. Eigler <fche@redhat.com>fche2005-06-142-16/+16
| | | | | | | | | PR mudflap/22064 * mf-impl.h (mudflap_mode, violation_mode): Make these ordinary unsigned vars with #defines instead of enums. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100945 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure: Regenerate.mrs2005-05-102-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99498 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure: Regenerate.mrs2005-04-132-1/+66
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98065 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-04-12 Frank Ch. Eigler <fche@redhat.com>fche2005-04-123-1/+32
| | | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98028 138bc75d-0d04-0410-961f-82ee72b054a4
* * mf-runtime.h: Add libmudflap copyright clause.mrs2005-04-072-0/+36
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97807 138bc75d-0d04-0410-961f-82ee72b054a4
* * mf-runtime.c (__mfu_unregister): Warning fix for char unsigned.amodra2005-04-042-3/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97532 138bc75d-0d04-0410-961f-82ee72b054a4
* * mf-heuristics.c: Fix whitespace at end of line.mrs2005-03-228-262/+272
| | | | | | | | | | | | * mf-hooks1.c: Likewise. * mf-hooks2.c: Likewise. * mf-hooks3.c: Likewise. * mf-impl.h: Likewise. * mf-runtime.c: Likewise. * mf-runtime.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96850 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.ac: Do not invoke TL_AC_GCC_VERSION.zack2005-03-217-40/+26
| | | | | | | | | | In all substitutions, expand gcc_version in Makefile. * aclocal.m4, configure: Regenerate. * Makefile.am: Set gcc_version. * Makefile.in, testsuite/Makefile.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96817 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-03-17 Frank Ch. Eigler <fche@redhat.com>fche2005-03-174-1/+42
| | | | | | | | * mf-runtime.c (__mfu_check): Respect ignore_reads configuration. * testsuite/libmudflap.c/{pass56,fail39}-frag.c: New tests. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96620 138bc75d-0d04-0410-961f-82ee72b054a4
* * typo fixfche2005-02-131-0/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94984 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-02-13 Frank Ch. Eigler <fche@redhat.com>fche2005-02-132-0/+11
| | | | | | | | PR mudflap/19319 * testsuite/libmudflap.c++/pass55-frag.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94983 138bc75d-0d04-0410-961f-82ee72b054a4
* * testsuite/libmudflap.c/pass32-frag.c: Fix typo.rth2005-01-052-2/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92930 138bc75d-0d04-0410-961f-82ee72b054a4
* * mf-impl.h (uintptr_t): Get typedef via stdint.h or define explicitly.gkm2005-01-0211-28/+107
| | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92815 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-12-08 Kelley Cook <kcook@gcc.gnu.org>kcook2004-12-095-9/+12
| | | | | | | | * Makefile.am: Add ../config to ACLOCAL_AMFLAGS. * aclocal.m4, Makefile.in, testsuite/Makefile.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91926 138bc75d-0d04-0410-961f-82ee72b054a4
* Introduce and use config/gcc-version.m4.rsandifo2004-12-026-11/+33
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91625 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-11-29 Kelley Cook <kcook@gcc.gnu.org>kcook2004-11-308-953/+42
| | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91499 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-11-24 Kelley Cook <kcook@gcc.gnu.org>kcook2004-11-257-34/+960
| | | | | | | | | | * Makefile.am: Revert previous. * acinclude.m4: Restore. * aclocal.m4, configure, Makefile.in: Regenerate. * testsuite/Makefile.in: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91292 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-11-24 Kelley Cook <kcook@gcc.gnu.org>kcook2004-11-247-953/+41
| | | | | | | | | | * Makefile.am: Define ACLOCAL_AMFLAGS. * acinclude.m4: Remove. * aclocal.m4, configure, Makefile.in: Regenerate. * testsuite/Makefile.in: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91209 138bc75d-0d04-0410-961f-82ee72b054a4
* * lib/target-libpath.exp: New file defining set_ld_library_path_env_varsdanglin2004-11-242-14/+21
| | | | | | | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91137 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-11-23 Kelley Cook <kcook@gcc.gnu.org>kcook2004-11-245-101/+236
| | | | | | | | * Makefile.in, configure, aclocal.m4: Regenerate with automake 1.9.3. * testsuite/Makefile.in: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91125 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.ac: (target_alias): Default to $host_alias, notschwab2004-11-013-2/+8
| | | | | | | | $target. * configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89959 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-10-28 Frank Ch. Eigler <fche@redhat.com>fche2004-10-285-1/+104
| | | | | | | | | * testsuite/libmudflap.c/fail35-,pass53-,pass54-frag.c: New tests. * testsuite/libmudflap.c/pass35-frag.c: Correct embedded warning message. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89783 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/testsuite:ebotcazou2004-10-252-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89528 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-10-12 Frank Ch. Eigler <fche@redhat.com>fche2004-10-1311-39/+492
| | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88996 138bc75d-0d04-0410-961f-82ee72b054a4
* * thanks kcookfche2004-10-053-4/+8
| | | | | | | | | | 2004-10-05 Frank Ch. Eigler <fche@redhat.com> * configure.ac: Checking for sys/socket.h once is enough. * configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88559 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-10-04 Frank Ch. Eigler <fche@redhat.com>fche2004-10-048-25/+491
| | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88517 138bc75d-0d04-0410-961f-82ee72b054a4
* * fixing typos in accidental checkinfche2004-10-031-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88463 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-10-02 Frank Ch. Eigler <fche@redhat.com>fche2004-10-024-0/+81
| | | | | | | | | | | | | | | | | * tree-mudflap.c (mf_build_check_statement_for): Reorganize to take check-base and -limit arguments. (mf_xform_derefs_1): Reorganize slightly to pass proper base/limit check ranges for ARRAY_REF and COMPONENT_REF. (execute_mudflap_fnction_ops, ..._decls): Limit unnecessary instrumentation. 2004-10-02 Frank Ch. Eigler <fche@redhat.com> * testsuite/libmudflap.c/pass50-frag.c, fail33-frag.c, fail34-frag.c: New tests for proper base/limit checking for aggregates. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88432 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc:jsm282004-09-152-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | * attribs.c, builtins.c, c-format.c, c-pch.c, coverage.c, except.c, fold-const.c, function.c, langhooks.c, params.c, reload.c, reload1.c, stmt.c, stor-layout.c, toplev.c, tree-cfg.c, tree-dump.c, tree-mudflap.c, tree.c, varasm.c: Use %<, %> and %q for quoting in diagnostics going through pretty-print.c. Use '' for quoting in other diagnostic text. * langhooks.c: Include intl.h. Mark text locating diagnostics for translation. * Makefile.in (langhooks.o): Update dependencies. * pretty-print.h (pp_printf): Mark as accepting GCC diagnostic formats. gcc/testsuite: * g++.dg/ext/member-attr.C, g++.dg/warn/deprecated.C, gcc.dg/deprecated.c, gcc.dg/noreturn-1.c, gcc.dg/noreturn-4.c: Update expected messages. libmudflap: * testsuite/libmudflap.c/pass35-frag.c: Update expected message. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87563 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-09-07 Frank Ch. Eigler <fche@redhat.com>fche2004-09-0710-46/+696
| | | | | | | | | | | | | | | | * configure.ac: Look for pwd.h, grp.h, netdb.h headers and functions. * mf-hooks2.c (strerror): Unregister previous string returned by previous strerror. (getlogin,cuserid,getpwnam,getpwuid,getgrnam,getgrgid): New wrappers. (getservent,getservbyname,getservbyport,gai_strerror): Ditto. * mf-runtime.h.in: Add redefine_extname pragmas for them all. * mf-runtime.c (__mf_describe_object): Clarify object life status. * testsuite/libmudflap.c/pass48-frag.c, pass49-frag.c, fail32-frag.c: New tests. * configure, config.h.in: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87160 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-08-03 Dale Johannesen <dalej@apple.com>fche2004-08-032-1/+5
| | | | | | | * mf-runtime.c: Conditionalize POSIX_SOURCE for Darwin. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85478 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-08-03 Frank Ch. Eigler <fche@redhat.com>fche2004-08-032-23/+16
| | | | | | | | * mf-runtime.c (compare_uintptr_t): Remove function. Inline simplified contents in all former callers. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85475 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-07-27 Ulrich Weigand <weigand@informatik.uni-erlangen.de>fche2004-07-272-0/+11
| | | | | | | | * mf-runtime.c (__mf_fini): Set mudflap_mode to mode_nop in the statically linked case. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85229 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-07-27 Frank Ch. Eigler <fche@redhat.com>fche2004-07-277-698/+592
| | | | | | | | | | | * splay-tree.[ch]: Remove. Merge contents into ... * mf-runtime.c: ... here, renaming symbols and making all functions static. Remove unused min/max functions. * Makefile.am: Forget about splay-tree.[ch]. * Makefile.in, testsuite/Makefile.in: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85224 138bc75d-0d04-0410-961f-82ee72b054a4
* * whitespace tweakfche2004-07-211-2/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85018 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-07-21 Frank Ch. Eigler <fche@redhat.com>fche2004-07-213-5/+24
| | | | | | | | | | | * mf-runtime.c (__mfu_check): Remove mistaken mode-nop handling. (__mfu_usage): Include (C) 2004. * mf-hooks3.c (__mf_find_threadinfo): Don't call tracing functions here. Include a comment explaining why. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85014 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-07-20 Frank Ch. Eigler <fche@redhat.com>fche2004-07-204-10/+29
| | | | | | | | | | | | | * mf-impl.h (__mf_options): Add ignore_reads and timestamps fields. * mf-runtime.c (options): Give them a name. (__mf_set_default_options): Set them. (__mf_insert_new_object, __mfu_unregister): Optionalize timestamps. (__mf_violation): Warning cleanup. * mf-impl.h (MF_VALIDATE_EXTENT): Support ignore_reads option. * splay-tree.c (splay_tree_delete_helper): Remove obsolete decl. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84971 138bc75d-0d04-0410-961f-82ee72b054a4
* * Fix for g++/15861fche2004-07-152-2/+12
| | | | | | | | | | | 2004-07-15 Frank Ch. Eigler <fche@redhat.com> g++/15861 * mf-runtime.c (__mf_init): Make it non-static. Tolerate repeated invocation. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84761 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-07-09 Frank Ch. Eigler <fche@redhat.com>fche2004-07-095-2/+73
| | | | | | | | | | | Test case for g++/15861 * testsuite/libmudflap.c++/ctors-[12].cxx: New test case halves. * testsuite/libmudflap.c++/ctors.exp: Driver. * testsuite/libmudflap.c++/c++frags.exp: Elide redundant default. Look only for *frag* test cases. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84392 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-07-08 Frank Ch. Eigler <fche@redhat.com>fche2004-07-084-287/+388
| | | | | | | | | | | | | | | | | | | | | | | | | ANSI C conversion, libmudflap specialization, recursion limiting. * splay-tree.h (splay_tree_{de,}allocate_fn): Remove allocation_data argument and indirection function pointers, update callers. (splay_tree_s): Add statistics and recursion control fields num_keys, max_depth, depth, rebalance_p. * splay-tree.c (splay_tree_splay_helper): Track recursion depth. Back out of search if it exceeds limit. (splay_tree_splay): Manage recursion limiting with rebalancing as needed. (splay_tree_new): More initialization. (splay_tree_rebalance): New function. (splay_tree_foreach): Rewrite using nonrecursive logic. (splay_tree_xmalloc_allocate, splay_tree_xmalloc_deallocate): Remove. Point indirect calls to mf-runtime.c's routines. (splay_tree_compare_ints, splay_tree_compare_pointers): Remove unused functions. (splay_tree_delete, splay_tree_delete_helper): Ditto. * testsuite/heap-scalestress.c: New test based on one from Eyal Lebedinsky <eyal@eyal.emu.id.au>: git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84303 138bc75d-0d04-0410-961f-82ee72b054a4