This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
patch for presumed typo in boehm-gc/misc.c
- To: java-patches at gcc dot gnu dot org, hans_boehm at hp dot com
- Subject: patch for presumed typo in boehm-gc/misc.c
- From: Per Bothner <per at bothner dot com>
- Date: 05 Apr 2001 11:26:12 -0700
The gcc3 branch fails to build because the symbol GC_lear_stack_inner
is missing. I'm assuming it's a typo. Ok to check in?
2001-04-05 Per Bothner <per@bothner.com>
* misc.c (GC_clear_stack): Fix typo GC_lear_stack_inner ->
GC_clear_stack_inner.
Index: misc.c
===================================================================
RCS file: /cvs/gcc/gcc/boehm-gc/misc.c,v
retrieving revision 1.12.4.1
diff -u -p -r1.12.4.1 misc.c
--- misc.c 2001/04/05 00:13:13 1.12.4.1
+++ misc.c 2001/04/05 18:21:16
@@ -292,7 +292,7 @@ ptr_t arg;
if (++random_no % 13 == 0) {
limit = sp;
MAKE_HOTTER(limit, BIG_CLEAR_SIZE*sizeof(word));
- return GC_lear_stack_inner(arg, limit);
+ return GC_clear_stack_inner(arg, limit);
} else {
BZERO(dummy, SMALL_CLEAR_SIZE*sizeof(word));
return arg;
--
--Per Bothner
per@bothner.com http://www.bothner.com/~per/