Calls to built-in functions are not Binary Compatible
Tom Tromey
tromey@redhat.com
Wed Mar 1 22:36:00 GMT 2006
>>>>> "Andrew" == Andrew Pinski <pinskia@physics.uc.edu> writes:
>> This happens with methods like Math.pow() which are converted to
>> builtins. Unfortunately, this leads to direct calls to methods in
>> libgcj. This breaks binary compatibility when we change gcj's name
>> mangling. Which we just did.
Andrew> Aren't those direct function calls to libc functions though so
Andrew> they really don't have an effect from gcj's name mangling?
No, but some of these do lower to things which aren't function calls
at all. For instance take a look at how Double.longBitsToDouble is
handled.
Tom
More information about the Gcc-patches
mailing list