Release stuff
Tom Tromey
tromey@redhat.com
Thu Mar 14 08:59:00 GMT 2002
>>>>> "Alex" == Alexandre Petit-Bianco <apbianco@cygnus.com> writes:
>> 5876 jc1 crashes when targeting mingw32
>> I believe this is the problem we think was introduced by my
>> builtin function patch. Is that right?
Alex> If we only stick to something that we see having a set type
Alex> according to the choices made in java/builtins.c, then we would
Alex> only define a builtin if TYPE is set to something [2].
Alex> [2]
Alex> Index: builtins.c
Alex> ===================================================================
Alex> RCS file: /cvs/gcc/gcc/gcc/java/builtins.c,v
Alex> retrieving revision 1.3.4.1
Alex> diff -u -p -r1.3.4.1 builtins.c
Alex> --- builtins.c 2002年03月05日 05:09:31 1.3.4.1
Alex> +++ builtins.c 2002年03月12日 22:57:37
Alex> @@ -200,7 +200,7 @@ define_builtin (val, name, class, type,
Alex> {
Alex> tree decl;
Alex> - if (! name)
Alex> + if (! name || ! type)
Alex> return;
Alex> if (strncmp (name, "__builtin_", strlen ("__builtin_")) != 0)
I tried the mingw build with this patch applied (and not the other
one). It seems to be working, and it seems like a reasonable patch to
me. I think it should go in.
Tom
More information about the Java
mailing list