This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GC 6.0 alpha 3 imported


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.




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]