mirror of git://gcc.gnu.org/git/gcc.git
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
|
|
@ -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>
|
2014-10-12 Trevor Saunders <tsaunders@mozilla.com>
|
||||||
|
|
||||||
* class.c, decl.c, except.c, expr.c, java-tree.h, lang.c: Use
|
* 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;
|
return;
|
||||||
|
|
||||||
if (current_function_decl != NULL
|
if (current_function_decl != NULL
|
||||||
|
&& DECL_CONTEXT (current_function_decl) != NULL
|
||||||
&& DECL_CONTEXT (current_function_decl) != last_error_function_context)
|
&& DECL_CONTEXT (current_function_decl) != last_error_function_context)
|
||||||
{
|
{
|
||||||
if (file)
|
if (file)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue