Commit c2d8e20a by Alexandre Petit-Bianco Committed by Tom Tromey

re PR java/5876 (jc1 crashes when targeting mingw32)

2002-03-18  Alexandre Petit-Bianco  <apbianco@redhat.com>

	* builtins.c (define_builtin): Do nothing if `type' is null.
	Fixes PR java/5876.

From-SVN: r50990
parent 1bfbbbcf
2002-03-18 Alexandre Petit-Bianco <apbianco@redhat.com>
* builtins.c (define_builtin): Do nothing if `type' is null.
Fixes PR java/5876.
2002-03-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
* parse.y (parser_check_super_interface): Fix error message
......
......@@ -200,7 +200,7 @@ define_builtin (val, name, class, type, fallback_p)
{
tree decl;
if (! name)
if (! name || ! type)
return;
if (strncmp (name, "__builtin_", strlen ("__builtin_")) != 0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment