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
This commit is contained in:
parent
a0272f8660
commit
1cbd117475
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
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)
|
||||
|
|
Loading…
Add table
Reference in a new issue