https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63536

--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Stupachenko Evgeny from comment #2)
> "ebx enabling" changes triggered a warning for
> "_Jv_global_static_constructor()".
> 
> The function has NULL location and CONTEXT.
> The ICE caused by passing NULL to
>  lang_printable_name:
> 
>   if (current_function_decl != NULL
>       && DECL_CONTEXT (current_function_decl) != last_error_function_context)
>     {
>       if (file)
>         fprintf (stderr, "%s: ", file);
>  
>       last_error_function_context = DECL_CONTEXT (current_function_decl);
>       fprintf (stderr, "In class '%s':\n",
>                lang_printable_name (last_error_function_context, 0));
>     }
> 
> an additional check
>   if (current_function_decl != NULL
>       && DECL_CONTEXT (current_function_decl) != NULL
>       && DECL_CONTEXT (current_function_decl) != last_error_function_context)
> 
> should resolve the problem.
> Checking bootstrap now.

Will it solve

../../../../../src-trunk/libjava/classpath/tools/external/asm/org/objectweb/asm/xml/ASMContentHandler.java:1018:0:
note: non-delegitimized UNSPEC UNSPEC_GOTOFF (1) found in variable location

H.J.

Reply via email to