diff options
author | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-02-20 05:49:06 +0000 |
---|---|---|
committer | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-02-20 05:49:06 +0000 |
commit | 3915b59eb73c81cd06e1c52d275fdecf3151a453 (patch) | |
tree | 51e806341a185dae0e1fc20ec036ecd1ec7fa9be /gcc/ggc.h | |
parent | 66c4386e4c27657eceb722e2fd79b7911d48a7f2 (diff) | |
download | gcc-3915b59eb73c81cd06e1c52d275fdecf3151a453.tar.gz |
* sibcall.c (skip_copy_to_return_value): Call
identify_call_return_value here, and return orig_insn if it
returns zero. Hardret and softret arguments now unnecessary.
(call_ends_block_p): Don't call identify_call_return_value here.
* ggc-common.c (ggc_mark_rtx_children): No need to mark 'S' or
's' slots in RTXen.
* ggc-page.c, ggc-simple.c (ggc_mark_if_gcable): Delete function.
* ggc.h (ggc_mark_if_gcable): Delete prototype.
testsuite:
* g77.dg: New directory.
* g77.dg/20010216-1.f: New test case.
* g77.dg/dg.exp: New driver.
* lib/g77-dg.exp: New driver library.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39916 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ggc.h')
-rw-r--r-- | gcc/ggc.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/gcc/ggc.h b/gcc/ggc.h index e222916a5a6..3decec35615 100644 --- a/gcc/ggc.h +++ b/gcc/ggc.h @@ -1,5 +1,5 @@ /* Garbage collection for the GNU compiler. - Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc. + Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc. This file is part of GNU CC. @@ -99,9 +99,6 @@ extern void ggc_mark_rtvec_children PARAMS ((struct rtvec_def *)); ggc_set_mark (a__); \ } while (0) -/* Mark, but only if it was allocated in collectable memory. */ -extern void ggc_mark_if_gcable PARAMS ((const void *)); - /* A GC implementation must provide these functions. */ /* Initialize the garbage collector. */ @@ -141,8 +138,8 @@ const char *ggc_alloc_string PARAMS ((const char *contents, int length)); /* Make a copy of S, in GC-able memory. */ #define ggc_strdup(S) ggc_alloc_string((S), -1) -/* Invoke the collector. This is really just a hint, but in the case of - the simple collector, the only time it will happen. */ +/* Invoke the collector. Garbage collection occurs only when this + function is called, not during allocations. */ void ggc_collect PARAMS ((void)); /* Actually set the mark on a particular region of memory, but don't |