Commit 1cbd1174 by Evgeny Stupachenko Committed by Ilya Verbin

re PR bootstrap/63536 (bootstrap failed when configured with --with-cpu=slm)

	PR target/63536
gcc/java/
	* lang.c (java_print_error_function): Add check on NULL function
	context.

From-SVN: r216280
parent a0272f86
2014-10-15 Evgeny Stupachenko <evstupac@gmail.com>
PR target/63536
* lang.c (java_print_error_function): Add check on NULL function
context.
2014-10-12 Trevor Saunders <tsaunders@mozilla.com>
* class.c, decl.c, except.c, expr.c, java-tree.h, lang.c: Use
......
......@@ -489,6 +489,7 @@ java_print_error_function (diagnostic_context *context ATTRIBUTE_UNUSED,
return;
if (current_function_decl != NULL
&& DECL_CONTEXT (current_function_decl) != NULL
&& DECL_CONTEXT (current_function_decl) != last_error_function_context)
{
if (file)
......
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