This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: GC 6.0 alpha 3 imported
- From: Bryce McKinlay <bryce at waitaki dot otago dot ac dot nz>
- To: Fergus Henderson <fjh at cs dot mu dot OZ dot AU>
- Cc: java-patches at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org, takis at xfree86 dot org
- Date: Wed, 13 Feb 2002 18:27:51 +1300
- Subject: Re: GC 6.0 alpha 3 imported
- References: <3C68A369.6030300@waitaki.otago.ac.nz> <20020213044533.GA14104@ceres.cs.mu.oz.au>
Fergus Henderson wrote:
>>+++ dbg_mlc.c 2002/02/12 04:37:53 1.11
>>@@ -429,6 +429,35 @@
>> return (GC_store_debug_info(result, (word)lb, s, (word)i));
>> }
>>
>>+# ifdef __STDC__
>>+ GC_PTR GC_debug_generic_malloc(size_t lb, int k, GC_EXTRA_PARAMS)
>>+# else
>>+ GC_PTR GC_debug_malloc(lb, k, s, i)
>>
>
>That is a bug -- GC_debug_malloc here should be GC_debug_generic_malloc.
>
Thanks. I think I'll just remove this function. GC_generic_malloc is
only used for object arrays these days and GC_MALLOC is used in the
debug case.
regards
Bryce.