aboutsummaryrefslogtreecommitdiff
path: root/gcc/ggc.h
diff options
context:
space:
mode:
authorZack Weinberg <zackw@stanford.edu>2001-02-20 05:49:06 +0000
committerZack Weinberg <zack@gcc.gnu.org>2001-02-20 05:49:06 +0000
commitcd5a58e5925d0983a59dc98a4ab12224d4624559 (patch)
tree51e806341a185dae0e1fc20ec036ecd1ec7fa9be /gcc/ggc.h
parent3d55d2f8dce48e3511a24887892f4a95fa607b45 (diff)
downloadgcc-cd5a58e5925d0983a59dc98a4ab12224d4624559.zip
gcc-cd5a58e5925d0983a59dc98a4ab12224d4624559.tar.gz
gcc-cd5a58e5925d0983a59dc98a4ab12224d4624559.tar.bz2
sibcall.c (skip_copy_to_return_value): Call identify_call_return_value here, and return orig_insn if it returns zero.
* 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. From-SVN: r39916
Diffstat (limited to 'gcc/ggc.h')
-rw-r--r--gcc/ggc.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/gcc/ggc.h b/gcc/ggc.h
index e222916..3decec3 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