This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [java, 3.0.1]: BUG: Unresolved symbols with -O3 and higher


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]