libjava/defineclass.cc won't build on Solaris/sparc

Alexandre Oliva aoliva@redhat.com
Sun Dec 2 13:53:00 GMT 2001


The problem appears to be that INTERPRETER is not defined, so the
declaration of the global variable `character' is omitted, but there
are references to this variable outside the #ifdef INTERPRETER.
I'm not sure whether it would be better to move the functions that
reference character into the ifdef, or to move the declaration (and
the initializer?) out of the ifdef. Also, it would be advisable to
use attribute((noinline)) to prevent inlining, since now that we have
out-of-order inlining, moving a function after another doesn't prevent
it from being inlined.
Please advise on the best fix for this problem.
-- 
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /