[PATCH x86, java, PR63536] Fix java bootstrap for -mtune=intel/slm
Evgeny Stupachenko
evstupac@gmail.com
Wed Oct 15 17:12:00 GMT 2014
Updated ChangeLog:
2014-10-15 Evgeny Stupachenko <evstupac@gmail.com>
PR target/63536
* lang.c (java_print_error_function): Add check on NULL function
context.
The function is: _Jv_global_static_constructor()
It is compiler generated at jcf-parse.c
(java_emit_static_constructor), line 1705.
On Wed, Oct 15, 2014 at 8:59 PM, Jakub Jelinek <jakub@redhat.com> wrote:
> On Wed, Oct 15, 2014 at 05:57:22PM +0100, Andrew Haley wrote:
>> On 10/15/2014 05:54 PM, Evgeny Stupachenko wrote:
>> > The patch fixes java i686 bootstrap for -mtune=intel/slm.
>> >
>> > Recent changes triggered java to write a note on compilation for a
>> > function without context.
>> >
>> > make check in progress
>> >
>> > Is it ok?
>>
>> I guess so, but I don't understand how any function ends up with a null
>> DECL_CONTEXT.
>
> Yeah, I guess it would help if you would say what function it is exactly,
> how it got created etc. Artificial function?
>
>> Nontheless, this must go to java-patches@gcc.gnu.org
>
> Also, java/ prefix shouldn't be in the ChangeLog, gcc/java/ directory has
> its own ChangeLog.
>
> Jakub
More information about the Java-patches
mailing list