[java, 3.0.1]: BUG: Unresolved symbols with -O3 and higher
Tom Tromey
tromey@redhat.com
Wed Jul 25 09:08:00 GMT 2001
>>>>> "Jeff" == Jeff Sturm <jsturm@one-point.com> writes:
Jeff> I'll argue this should be the default for gcj, due to
Jeff> reflection.
This seems reasonable to me.
I think we should default to compatibility, even if it means we emit
code for extra functions.
Then we can provide options to let the user choose when to reduce
this. For instance, -fno-keep-inline-functions.
This has come up before:
http://gcc.gnu.org/ml/java/1999-q4/msg00364.html
Jeff> In fact the behavior of the program below changes when compiled
Jeff> with/without -fkeep-inline-functions:
This example is important, because I think it shows that if we keep
the current behavior then we can break serialization, which relies on
private functions and reflection.
Tom
More information about the Java
mailing list